rpc: Properly use underlying type in GetAllOutputTypes
rpc: Properly use underlying type in GetAllOutputTypes

Don't blindly assume it is int.

In practice this is usually `unsigned` or `int`, so this commit should
not change behavior.

fanquake/bitcoin,apoelstra/bitcoin,mm-s/bitcoin,yenliangl/bitcoin,apoelstra/bitcoin,bitcoinsSG/bitcoin,jonasschnelli/bitcoin,pstratem/bitcoin,jambolo/bitcoin,alecalve/bitcoin,mm-s/bitcoin,ElementsProject/elements,jnewbery/bitcoin,practicalswift/bitcoin,JeremyRubin/bitcoin,bitcoinsSG/bitcoin,cdecker/bitcoin,GroestlCoin/GroestlCoin,fujicoin/fujicoin,dscotese/bitcoin,fanquake/bitcoin,jamesob/bitcoin,JeremyRubin/bitcoin,bitcoin/bitcoin,dscotese/bitcoin,bitcoinsSG/bitcoin,GroestlCoin/bitcoin,prusnak/bitcoin,n1bor/bitcoin,EthanHeilman/bitcoin,JeremyRubin/bitcoin,yenliangl/bitcoin,sipsorcery/bitcoin,litecoin-project/litecoin,MeshCollider/bitcoin,GroestlCoin/GroestlCoin,litecoin-project/litecoin,instagibbs/bitcoin,namecoin/namecoin-core,MeshCollider/bitcoin,midnightmagic/bitcoin,n1bor/bitcoin,AkioNak/bitcoin,andreaskern/bitcoin,ElementsProject/elements,ElementsProject/elements,apoelstra/bitcoin,jambolo/bitcoin,achow101/bitcoin,dscotese/bitcoin,midnightmagic/bitcoin,practicalswift/bitcoin,tecnovert/particl-core,mm-s/bitcoin,AkioNak/bitcoin,lateminer/bitcoin,namecoin/namecore,domob1812/namecore,rnicoll/dogecoin,jambolo/bitcoin,GroestlCoin/bitcoin,namecoin/namecore,sipsorcery/bitcoin,EthanHeilman/bitcoin,jonasschnelli/bitcoin,cdecker/bitcoin,ElementsProject/elements,GroestlCoin/bitcoin,namecoin/namecore,rnicoll/bitcoin,ajtowns/bitcoin,rnicoll/bitcoin,alecalve/bitcoin,midnightmagic/bitcoin,namecoin/namecoin-core,MeshCollider/bitcoin,jlopp/statoshi,rnicoll/dogecoin,qtumproject/qtum,pstratem/bitcoin,tecnovert/particl-core,sipsorcery/bitcoin,qtumproject/qtum,domob1812/namecore,GroestlCoin/bitcoin,kallewoof/bitcoin,namecoin/namecoin-core,dscotese/bitcoin,cdecker/bitcoin,sstone/bitcoin,pataquets/namecoin-core,fanquake/bitcoin,fanquake/bitcoin,achow101/bitcoin,jambolo/bitcoin,domob1812/bitcoin,andreaskern/bitcoin,jlopp/statoshi,midnightmagic/bitcoin,GroestlCoin/bitcoin,n1bor/bitcoin,AkioNak/bitcoin,pataquets/namecoin-core,MarcoFalke/bitcoin,EthanHeilman/bitcoin,pstratem/bitcoin,kallewoof/bitcoin,MeshCollider/bitcoin,bitcoinknots/bitcoin,instagibbs/bitcoin,GroestlCoin/GroestlCoin,tecnovert/particl-core,fujicoin/fujicoin,pataquets/namecoin-core,apoelstra/bitcoin,cdecker/bitcoin,mm-s/bitcoin,instagibbs/bitcoin,cdecker/bitcoin,anditto/bitcoin,GroestlCoin/GroestlCoin,andreaskern/bitcoin,n1bor/bitcoin,litecoin-project/litecoin,mm-s/bitcoin,mruddy/bitcoin,domob1812/bitcoin,jnewbery/bitcoin,lateminer/bitcoin,fanquake/bitcoin,domob1812/namecore,jamesob/bitcoin,namecoin/namecoin-core,kallewoof/bitcoin,MeshCollider/bitcoin,tecnovert/particl-core,dscotese/bitcoin,jamesob/bitcoin,sipsorcery/bitcoin,prusnak/bitcoin,qtumproject/qtum,particl/particl-core,namecoin/namecore,fujicoin/fujicoin,instagibbs/bitcoin,AkioNak/bitcoin,alecalve/bitcoin,bitcoinsSG/bitcoin,achow101/bitcoin,GroestlCoin/GroestlCoin,Xekyo/bitcoin,anditto/bitcoin,Sjors/bitcoin,anditto/bitcoin,rnicoll/bitcoin,fujicoin/fujicoin,kallewoof/bitcoin,sstone/bitcoin,mruddy/bitcoin,bitcoin/bitcoin,AkioNak/bitcoin,MeshCollider/bitcoin,bitcoin/bitcoin,domob1812/namecore,ElementsProject/elements,bitcoinknots/bitcoin,domob1812/bitcoin,jlopp/statoshi,Xekyo/bitcoin,particl/particl-core,rnicoll/dogecoin,rnicoll/bitcoin,bitcoinknots/bitcoin,ElementsProject/elements,pstratem/bitcoin,domob1812/namecore,qtumproject/qtum,MarcoFalke/bitcoin,particl/particl-core,jnewbery/bitcoin,andreaskern/bitcoin,MarcoFalke/bitcoin,jlopp/statoshi,MarcoFalke/bitcoin,fanquake/bitcoin,ajtowns/bitcoin,alecalve/bitcoin,pstratem/bitcoin,anditto/bitcoin,kallewoof/bitcoin,litecoin-project/litecoin,jambolo/bitcoin,yenliangl/bitcoin,qtumproject/qtum,achow101/bitcoin,Sjors/bitcoin,domob1812/namecore,practicalswift/bitcoin,mruddy/bitcoin,Xekyo/bitcoin,mruddy/bitcoin,EthanHeilman/bitcoin,jonasschnelli/bitcoin,jamesob/bitcoin,bitcoinknots/bitcoin,lateminer/bitcoin,bitcoinknots/bitcoin,sstone/bitcoin,JeremyRubin/bitcoin,anditto/bitcoin,domob1812/bitcoin,domob1812/bitcoin,ajtowns/bitcoin,pstratem/bitcoin,rnicoll/dogecoin,pataquets/namecoin-core,ajtowns/bitcoin,domob1812/bitcoin,prusnak/bitcoin,n1bor/bitcoin,JeremyRubin/bitcoin,prusnak/bitcoin,particl/particl-core,cdecker/bitcoin,GroestlCoin/bitcoin,Xekyo/bitcoin,sipsorcery/bitcoin,EthanHeilman/bitcoin,jamesob/bitcoin,tecnovert/particl-core,GroestlCoin/GroestlCoin,fujicoin/fujicoin,rnicoll/dogecoin,apoelstra/bitcoin,midnightmagic/bitcoin,sstone/bitcoin,ajtowns/bitcoin,fujicoin/fujicoin,sipsorcery/bitcoin,Sjors/bitcoin,sstone/bitcoin,prusnak/bitcoin,andreaskern/bitcoin,lateminer/bitcoin,namecoin/namecore,practicalswift/bitcoin,jnewbery/bitcoin,pataquets/namecoin-core,yenliangl/bitcoin,jlopp/statoshi,rnicoll/bitcoin,instagibbs/bitcoin,litecoin-project/litecoin,bitcoin/bitcoin,dscotese/bitcoin,pataquets/namecoin-core,jlopp/statoshi,practicalswift/bitcoin,Xekyo/bitcoin,JeremyRubin/bitcoin,rnicoll/bitcoin,lateminer/bitcoin,yenliangl/bitcoin,bitcoin/bitcoin,anditto/bitcoin,namecoin/namecoin-core,alecalve/bitcoin,Xekyo/bitcoin,practicalswift/bitcoin,achow101/bitcoin,n1bor/bitcoin,bitcoinsSG/bitcoin,namecoin/namecoin-core,MarcoFalke/bitcoin,particl/particl-core,alecalve/bitcoin,achow101/bitcoin,litecoin-project/litecoin,sstone/bitcoin,EthanHeilman/bitcoin,apoelstra/bitcoin,jambolo/bitcoin,kallewoof/bitcoin,jamesob/bitcoin,mruddy/bitcoin,jonasschnelli/bitcoin,qtumproject/qtum,bitcoin/bitcoin,prusnak/bitcoin,Sjors/bitcoin,MarcoFalke/bitcoin,mm-s/bitcoin,ajtowns/bitcoin,andreaskern/bitcoin,bitcoinsSG/bitcoin,mruddy/bitcoin,lateminer/bitcoin,jnewbery/bitcoin,particl/particl-core,yenliangl/bitcoin,AkioNak/bitcoin,Sjors/bitcoin,jonasschnelli/bitcoin,tecnovert/particl-core,qtumproject/qtum,namecoin/namecore,midnightmagic/bitcoin,instagibbs/bitcoin