Apply changes to migrate to llvm upstream r135568.

- Remove const qualifier for some llvm::Type variables,
  due to the change of the API.

- Update the relocation model setup code, since
  llvm::TargetMachine changes its API.

Change-Id: I87305d093d5b06870669b97228b66821addfaee4
3 files changed