Added support for options thinlto-index-only and thinlto-prefix-replace.
When thinlto-index-only option is specified, the thin LTO backend is created to generate the index files.
thinlto-prefix-replace controls where the files of distributed backend are created.
Please append {} to all these if ~ else if ~ else.