[ThinLTO] Recommit of import global variables

This wasreverted in r326638 due to link problems and fixed
afterwards


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327254 91177308-0d34-0410-b5e6-96231b3b80d8
8 files changed