Fix for a bug in setNumCapabilities
Fix for a bug in setNumCapabilities

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