Similar to what lld already does for dllimport symbols which are
prefaced with imp_ (see lld patch r240620), strip off the imp_
prefix in LTO. Otherwise we can get 2 separate GlobalResolution for
a single symbol, the dllimport declaration, and the definition, which
leads to incorrect LTO handling.
Tests coming in separate tools/lld patch.
Fixes PR38105.