Fix build for non x86/x86_64 (#7065)
Fix build for non x86/x86_64 (#7065)

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