Fix `integer-gmp2` compilation with GMP 4.x (#9281)
Fix `integer-gmp2` compilation with GMP 4.x (#9281)

GMP 4.x didn't provide the `mp_bitcnt_t` typedef yet, so we locally
define one if GMP 4.x is detected.

tjakway/ghcjvm,sgillespie/ghc,sdiehl/ghc,bitemyapp/ghc,gcampax/ghc,da-x/ghc,nushio3/ghc,mcschroeder/ghc,acowley/ghc,elieux/ghc,gcampax/ghc,elieux/ghc,forked-upstream-packages-for-ghcjs/ghc,acowley/ghc,forked-upstream-packages-for-ghcjs/ghc,anton-dessiatov/ghc,nushio3/ghc,mcschroeder/ghc,elieux/ghc,vTurbine/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,jstolarek/ghc,da-x/ghc,green-haskell/ghc,mcschroeder/ghc,nkaretnikov/ghc,fmthoma/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,da-x/ghc,TomMD/ghc,green-haskell/ghc,shlevy/ghc,siddhanathan/ghc,acowley/ghc,urbanslug/ghc,siddhanathan/ghc,christiaanb/ghc,fmthoma/ghc,snoyberg/ghc,urbanslug/ghc,elieux/ghc,olsner/ghc,oldmanmike/ghc,vTurbine/ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,ezyang/ghc,mettekou/ghc,gridaphobe/ghc,sdiehl/ghc,vTurbine/ghc,acowley/ghc,sdiehl/ghc,shlevy/ghc,olsner/ghc,christiaanb/ghc,snoyberg/ghc,nushio3/ghc,snoyberg/ghc,christiaanb/ghc,bitemyapp/ghc,elieux/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,gridaphobe/ghc,sgillespie/ghc,mfine/ghc,AlexanderPankiv/ghc,anton-dessiatov/ghc,ml9951/ghc,urbanslug/ghc,ml9951/ghc,urbanslug/ghc,da-x/ghc,ezyang/ghc,wxwxwwxxx/ghc,ezyang/ghc,tjakway/ghcjvm,tjakway/ghcjvm,GaloisInc/halvm-ghc,forked-upstream-packages-for-ghcjs/ghc,vikraman/ghc,ml9951/ghc,fmthoma/ghc,mettekou/ghc,sgillespie/ghc,nathyong/microghc-ghc,snoyberg/ghc,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,bitemyapp/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,wxwxwwxxx/ghc,fmthoma/ghc,christiaanb/ghc,oldmanmike/ghc,gcampax/ghc,nathyong/microghc-ghc,fmthoma/ghc,siddhanathan/ghc,ezyang/ghc,TomMD/ghc,sgillespie/ghc,bitemyapp/ghc,nushio3/ghc,mfine/ghc,ezyang/ghc,christiaanb/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,gridaphobe/ghc,mettekou/ghc,mettekou/ghc,nathyong/microghc-ghc,ezyang/ghc,oldmanmike/ghc,urbanslug/ghc,acowley/ghc,gridaphobe/ghc,gcampax/ghc,green-haskell/ghc,da-x/ghc,elieux/ghc,ml9951/ghc,tjakway/ghcjvm,siddhanathan/ghc,ghc-android/ghc,sdiehl/ghc,gcampax/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,mfine/ghc,olsner/ghc,anton-dessiatov/ghc,vTurbine/ghc,gcampax/ghc,ml9951/ghc,tjakway/ghcjvm,jstolarek/ghc,sdiehl/ghc,sdiehl/ghc,olsner/ghc,nushio3/ghc,jstolarek/ghc,mettekou/ghc,acowley/ghc,vikraman/ghc,TomMD/ghc,da-x/ghc,sgillespie/ghc,ghc-android/ghc,GaloisInc/halvm-ghc,shlevy/ghc,ml9951/ghc,wxwxwwxxx/ghc,nkaretnikov/ghc,green-haskell/ghc,christiaanb/ghc,green-haskell/ghc,olsner/ghc,ezyang/ghc,nkaretnikov/ghc,urbanslug/ghc,ml9951/ghc,ghc-android/ghc,nkaretnikov/ghc,gridaphobe/ghc,mcschroeder/ghc,wxwxwwxxx/ghc,AlexanderPankiv/ghc,da-x/ghc,vTurbine/ghc,mfine/ghc,AlexanderPankiv/ghc,wxwxwwxxx/ghc,nathyong/microghc-ghc,ml9951/ghc,anton-dessiatov/ghc,mfine/ghc,anton-dessiatov/ghc,TomMD/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,nkaretnikov/ghc,mfine/ghc,nathyong/microghc-ghc,tjakway/ghcjvm,oldmanmike/ghc,shlevy/ghc,vikraman/ghc,nathyong/microghc-ghc,jstolarek/ghc,TomMD/ghc,gridaphobe/ghc,anton-dessiatov/ghc,sdiehl/ghc,wxwxwwxxx/ghc,ghc-android/ghc,mcschroeder/ghc,TomMD/ghc,shlevy/ghc,forked-upstream-packages-for-ghcjs/ghc,olsner/ghc,vikraman/ghc,GaloisInc/halvm-ghc,bitemyapp/ghc,gridaphobe/ghc,snoyberg/ghc,vikraman/ghc,nkaretnikov/ghc,fmthoma/ghc,shlevy/ghc,olsner/ghc,shlevy/ghc,fmthoma/ghc,anton-dessiatov/ghc,urbanslug/ghc,sgillespie/ghc,AlexanderPankiv/ghc,mfine/ghc,acowley/ghc,ghc-android/ghc,ghc-android/ghc,nkaretnikov/ghc,elieux/ghc,siddhanathan/ghc,ghc-android/ghc,snoyberg/ghc,vikraman/ghc,gcampax/ghc,jstolarek/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,mettekou/ghc,snoyberg/ghc,nushio3/ghc,mettekou/ghc,siddhanathan/ghc,nathyong/microghc-ghc,vikraman/ghc,oldmanmike/ghc,vTurbine/ghc,nushio3/ghc,TomMD/ghc