ReplacePtrsWithInts: Fixed two issues exposed by librustc.
Lto: Added two hacks used in Google's PNaCl LLVM fork. This will be used in the gold plugin.
LTOModule: Add a haxor so symbols like 'std::logic_error::logic_error(char
const*)' don't remain unresolved.