Add basic LLVM support for the -fthinlto option, which will
be passed to LLVM via the EmitThinLTOIndex code gen option. This will
be used to guard the ThinLTO bitcode writing in WriteModule shown in
http://reviews.llvm.org/D11722.
Also add support for the thinlto gold plugin option that will be passed
by clang for -fthinlto links. It will be used to guard ThinLTO combined
index file writing.
The associated clang patch is http://reviews.llvm.org/D11906.