rustllvm: Stub out some functions for llvm < 3.5