Also, make the analogous change to apple/swift-driver#1372, which gets the
sanitizer tests working on Android again, and remove the lld_lto feature in the
tests, which is now unused.
With Gold from the Android NDK setting up LTO is complicated, and the CI
machines are not setup for it.
Disable this test in platforms that do not use LLD and LTO (which is
basically Android with older NDKs).
This commit adds LTO support for handling linker options and LLVM BC
emission. Even for ELF, swift-autolink-extract is unnecessary because
linker options are embeded in LLVM BC content when LTO.