[LTO] Add test for freestanding LTO option.This patch adds a test for the -lto-freestanding option, similar tollvm/test/ThinLTO/X86/tli-nobuiltin.ll.