Always zap the trailing @N from symbols when looking up in a DLL
Always zap the trailing @N from symbols when looking up in a DLL

Fixes win32002(ghci)

Previously we only did this for references from object files, but we
should do it for all symbols, including those that GHCi looks up due
to FFI calls from bytecode.

GaloisInc/halvm-ghc,nushio3/ghc,ezyang/ghc,anton-dessiatov/ghc,siddhanathan/ghc,ryantm/ghc,wxwxwwxxx/ghc,ryantm/ghc,AlexanderPankiv/ghc,sgillespie/ghc,ekmett/ghc,snoyberg/ghc,tjakway/ghcjvm,TomMD/ghc,anton-dessiatov/ghc,vikraman/ghc,ghc-android/ghc,anton-dessiatov/ghc,sgillespie/ghc,ghc-android/ghc,oldmanmike/ghc,sdiehl/ghc,nomeata/ghc,nathyong/microghc-ghc,nushio3/ghc,lukexi/ghc-7.8-arm64,acowley/ghc,shlevy/ghc,da-x/ghc,nkaretnikov/ghc,vTurbine/ghc,green-haskell/ghc,nathyong/microghc-ghc,mcmaniac/ghc,ghc-android/ghc,oldmanmike/ghc,ezyang/ghc,tjakway/ghcjvm,ryantm/ghc,nomeata/ghc,GaloisInc/halvm-ghc,ghc-android/ghc,gridaphobe/ghc,ryantm/ghc,gcampax/ghc,GaloisInc/halvm-ghc,hferreiro/replay,olsner/ghc,bitemyapp/ghc,oldmanmike/ghc,fmthoma/ghc,mettekou/ghc,oldmanmike/ghc,gridaphobe/ghc,mcschroeder/ghc,nkaretnikov/ghc,tibbe/ghc,green-haskell/ghc,da-x/ghc,gcampax/ghc,christiaanb/ghc,fmthoma/ghc,lukexi/ghc,da-x/ghc,urbanslug/ghc,ghc-android/ghc,acowley/ghc,olsner/ghc,shlevy/ghc,urbanslug/ghc,christiaanb/ghc,ekmett/ghc,TomMD/ghc,da-x/ghc,GaloisInc/halvm-ghc,vikraman/ghc,hferreiro/replay,jstolarek/ghc,mfine/ghc,mfine/ghc,lukexi/ghc,forked-upstream-packages-for-ghcjs/ghc,fmthoma/ghc,vTurbine/ghc,AlexanderPankiv/ghc,ezyang/ghc,holzensp/ghc,urbanslug/ghc,snoyberg/ghc,vTurbine/ghc,mfine/ghc,bitemyapp/ghc,olsner/ghc,vTurbine/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,mcschroeder/ghc,ilyasergey/GHC-XAppFix,wxwxwwxxx/ghc,ilyasergey/GHC-XAppFix,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,elieux/ghc,sdiehl/ghc,lukexi/ghc,spacekitteh/smcghc,siddhanathan/ghc,jstolarek/ghc,mcschroeder/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,vikraman/ghc,da-x/ghc,tjakway/ghcjvm,siddhanathan/ghc,acowley/ghc,gridaphobe/ghc,gcampax/ghc,ml9951/ghc,mfine/ghc,ekmett/ghc,ryantm/ghc,gcampax/ghc,nkaretnikov/ghc,vTurbine/ghc,nkaretnikov/ghc,hferreiro/replay,ml9951/ghc,AlexanderPankiv/ghc,shlevy/ghc,vikraman/ghc,lukexi/ghc-7.8-arm64,vTurbine/ghc,vikraman/ghc,da-x/ghc,spacekitteh/smcghc,mfine/ghc,frantisekfarka/ghc-dsi,fmthoma/ghc,siddhanathan/ghc,shlevy/ghc,gcampax/ghc,AlexanderPankiv/ghc,snoyberg/ghc,gridaphobe/ghc,holzensp/ghc,snoyberg/ghc,ghc-android/ghc,siddhanathan/ghc,TomMD/ghc,snoyberg/ghc,mfine/ghc,AlexanderPankiv/ghc,mcmaniac/ghc,nomeata/ghc,fmthoma/ghc,snoyberg/ghc,gridaphobe/ghc,mcschroeder/ghc,elieux/ghc,forked-upstream-packages-for-ghcjs/ghc,christiaanb/ghc,sdiehl/ghc,ml9951/ghc,siddhanathan/ghc,mettekou/ghc,ml9951/ghc,olsner/ghc,mettekou/ghc,frantisekfarka/ghc-dsi,gridaphobe/ghc,da-x/ghc,forked-upstream-packages-for-ghcjs/ghc,tibbe/ghc,sdiehl/ghc,christiaanb/ghc,hferreiro/replay,anton-dessiatov/ghc,spacekitteh/smcghc,holzensp/ghc,bitemyapp/ghc,ezyang/ghc,ezyang/ghc,frantisekfarka/ghc-dsi,spacekitteh/smcghc,mettekou/ghc,shlevy/ghc,tibbe/ghc,elieux/ghc,ezyang/ghc,mcmaniac/ghc,green-haskell/ghc,sgillespie/ghc,mcschroeder/ghc,jstolarek/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,nomeata/ghc,ekmett/ghc,acowley/ghc,fmthoma/ghc,mettekou/ghc,mcmaniac/ghc,oldmanmike/ghc,mcschroeder/ghc,mcschroeder/ghc,snoyberg/ghc,ekmett/ghc,olsner/ghc,holzensp/ghc,forked-upstream-packages-for-ghcjs/ghc,olsner/ghc,nushio3/ghc,green-haskell/ghc,forked-upstream-packages-for-ghcjs/ghc,jstolarek/ghc,urbanslug/ghc,mfine/ghc,ml9951/ghc,holzensp/ghc,bitemyapp/ghc,ghc-android/ghc,christiaanb/ghc,nathyong/microghc-ghc,hferreiro/replay,nathyong/microghc-ghc,frantisekfarka/ghc-dsi,nushio3/ghc,lukexi/ghc,bitemyapp/ghc,ml9951/ghc,sgillespie/ghc,forked-upstream-packages-for-ghcjs/ghc,wxwxwwxxx/ghc,gcampax/ghc,spacekitteh/smcghc,anton-dessiatov/ghc,wxwxwwxxx/ghc,sgillespie/ghc,ml9951/ghc,mettekou/ghc,GaloisInc/halvm-ghc,nomeata/ghc,gcampax/ghc,sgillespie/ghc,TomMD/ghc,green-haskell/ghc,TomMD/ghc,lukexi/ghc-7.8-arm64,fmthoma/ghc,urbanslug/ghc,elieux/ghc,acowley/ghc,TomMD/ghc,nushio3/ghc,GaloisInc/halvm-ghc,anton-dessiatov/ghc,christiaanb/ghc,shlevy/ghc,jstolarek/ghc,elieux/ghc,nushio3/ghc,sdiehl/ghc,acowley/ghc,wxwxwwxxx/ghc,lukexi/ghc-7.8-arm64,nathyong/microghc-ghc,sdiehl/ghc,TomMD/ghc,elieux/ghc,gridaphobe/ghc,nkaretnikov/ghc,vikraman/ghc,nathyong/microghc-ghc,ilyasergey/GHC-XAppFix,nkaretnikov/ghc,tibbe/ghc,GaloisInc/halvm-ghc,shlevy/ghc,ml9951/ghc,elieux/ghc,urbanslug/ghc,mettekou/ghc,lukexi/ghc-7.8-arm64,tibbe/ghc,lukexi/ghc,hferreiro/replay,vTurbine/ghc,acowley/ghc,sdiehl/ghc,tjakway/ghcjvm,christiaanb/ghc,sgillespie/ghc,vikraman/ghc,oldmanmike/ghc,nkaretnikov/ghc,AlexanderPankiv/ghc,frantisekfarka/ghc-dsi,tjakway/ghcjvm,olsner/ghc,urbanslug/ghc,mcmaniac/ghc,ezyang/ghc,hferreiro/replay,nushio3/ghc,tjakway/ghcjvm,ilyasergey/GHC-XAppFix,wxwxwwxxx/ghc