rts/Linker.c tidyups and debug belches
rts/Linker.c tidyups and debug belches

Part of the patch from #5062, from Greg Wright.

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