Change LTOModule`s getTargetTriple and setTargetTriple to use c++ types.