rpc/util: multisig: only check redeemScript size is <= 520 for P2SH
rpc/util: multisig: only check redeemScript size is <= 520 for P2SH

This increase the maximum number of pubkeys to 20 (valid in P2WSH and
P2SH-P2WSH) and only checks the redeemScript doesn't exceed
MAX_SCRIPT_ELEMENT_SIZE for P2SH, as this checked is removed under
Segwit context.

Signed-off-by: Antoine Poinsot <0fdf30a351670cde318d282b5fede3c3548275bc@protonmail.com>

tecnovert/particl-core,qtumproject/qtum,dscotese/bitcoin,bitcoin/bitcoin,kallewoof/bitcoin,yenliangl/bitcoin,fanquake/bitcoin,lateminer/bitcoin,mruddy/bitcoin,ajtowns/bitcoin,lateminer/bitcoin,bitcoinsSG/bitcoin,domob1812/namecore,sstone/bitcoin,JeremyRubin/bitcoin,instagibbs/bitcoin,fujicoin/fujicoin,rnicoll/bitcoin,sstone/bitcoin,fujicoin/fujicoin,namecoin/namecore,GroestlCoin/bitcoin,achow101/bitcoin,MarcoFalke/bitcoin,AkioNak/bitcoin,tecnovert/particl-core,GroestlCoin/bitcoin,kallewoof/bitcoin,dscotese/bitcoin,GroestlCoin/GroestlCoin,AkioNak/bitcoin,yenliangl/bitcoin,achow101/bitcoin,andreaskern/bitcoin,particl/particl-core,GroestlCoin/GroestlCoin,ajtowns/bitcoin,anditto/bitcoin,bitcoinsSG/bitcoin,jambolo/bitcoin,apoelstra/bitcoin,mm-s/bitcoin,namecoin/namecoin-core,dscotese/bitcoin,particl/particl-core,domob1812/bitcoin,jambolo/bitcoin,pataquets/namecoin-core,fujicoin/fujicoin,prusnak/bitcoin,bitcoin/bitcoin,namecoin/namecoin-core,prusnak/bitcoin,MarcoFalke/bitcoin,sstone/bitcoin,pataquets/namecoin-core,lateminer/bitcoin,ajtowns/bitcoin,Xekyo/bitcoin,domob1812/bitcoin,bitcoin/bitcoin,sipsorcery/bitcoin,apoelstra/bitcoin,bitcoinknots/bitcoin,jamesob/bitcoin,mruddy/bitcoin,AkioNak/bitcoin,anditto/bitcoin,bitcoinknots/bitcoin,bitcoinsSG/bitcoin,instagibbs/bitcoin,fanquake/bitcoin,GroestlCoin/bitcoin,namecoin/namecore,kallewoof/bitcoin,ajtowns/bitcoin,jambolo/bitcoin,JeremyRubin/bitcoin,pataquets/namecoin-core,jlopp/statoshi,jambolo/bitcoin,fujicoin/fujicoin,apoelstra/bitcoin,sipsorcery/bitcoin,pataquets/namecoin-core,instagibbs/bitcoin,tecnovert/particl-core,mm-s/bitcoin,bitcoinsSG/bitcoin,jlopp/statoshi,jamesob/bitcoin,MarcoFalke/bitcoin,MarcoFalke/bitcoin,ElementsProject/elements,mm-s/bitcoin,namecoin/namecore,qtumproject/qtum,MarcoFalke/bitcoin,anditto/bitcoin,fanquake/bitcoin,domob1812/namecore,bitcoinknots/bitcoin,rnicoll/bitcoin,kallewoof/bitcoin,jambolo/bitcoin,Xekyo/bitcoin,mm-s/bitcoin,prusnak/bitcoin,dscotese/bitcoin,sstone/bitcoin,namecoin/namecore,kallewoof/bitcoin,qtumproject/qtum,apoelstra/bitcoin,fanquake/bitcoin,namecoin/namecore,AkioNak/bitcoin,namecoin/namecoin-core,andreaskern/bitcoin,tecnovert/particl-core,qtumproject/qtum,rnicoll/bitcoin,domob1812/bitcoin,yenliangl/bitcoin,instagibbs/bitcoin,rnicoll/bitcoin,jlopp/statoshi,bitcoinsSG/bitcoin,domob1812/namecore,namecoin/namecoin-core,prusnak/bitcoin,GroestlCoin/GroestlCoin,prusnak/bitcoin,rnicoll/bitcoin,GroestlCoin/GroestlCoin,domob1812/namecore,sstone/bitcoin,jamesob/bitcoin,apoelstra/bitcoin,mm-s/bitcoin,qtumproject/qtum,andreaskern/bitcoin,JeremyRubin/bitcoin,ElementsProject/elements,particl/particl-core,jlopp/statoshi,jamesob/bitcoin,Xekyo/bitcoin,kallewoof/bitcoin,particl/particl-core,GroestlCoin/bitcoin,achow101/bitcoin,JeremyRubin/bitcoin,instagibbs/bitcoin,anditto/bitcoin,achow101/bitcoin,mruddy/bitcoin,dscotese/bitcoin,sstone/bitcoin,achow101/bitcoin,particl/particl-core,fujicoin/fujicoin,ajtowns/bitcoin,jamesob/bitcoin,andreaskern/bitcoin,mm-s/bitcoin,bitcoin/bitcoin,tecnovert/particl-core,achow101/bitcoin,anditto/bitcoin,qtumproject/qtum,bitcoin/bitcoin,sipsorcery/bitcoin,rnicoll/bitcoin,particl/particl-core,bitcoinknots/bitcoin,Xekyo/bitcoin,domob1812/bitcoin,domob1812/namecore,jlopp/statoshi,namecoin/namecoin-core,jamesob/bitcoin,sipsorcery/bitcoin,namecoin/namecore,pataquets/namecoin-core,GroestlCoin/bitcoin,dscotese/bitcoin,anditto/bitcoin,namecoin/namecoin-core,jambolo/bitcoin,bitcoinknots/bitcoin,GroestlCoin/GroestlCoin,fanquake/bitcoin,domob1812/bitcoin,Xekyo/bitcoin,yenliangl/bitcoin,lateminer/bitcoin,fanquake/bitcoin,tecnovert/particl-core,MarcoFalke/bitcoin,sipsorcery/bitcoin,yenliangl/bitcoin,Xekyo/bitcoin,lateminer/bitcoin,fujicoin/fujicoin,ElementsProject/elements,andreaskern/bitcoin,GroestlCoin/bitcoin,JeremyRubin/bitcoin,GroestlCoin/GroestlCoin,jlopp/statoshi,lateminer/bitcoin,ElementsProject/elements,prusnak/bitcoin,bitcoinsSG/bitcoin,JeremyRubin/bitcoin,qtumproject/qtum,AkioNak/bitcoin,ElementsProject/elements,pataquets/namecoin-core,domob1812/namecore,sipsorcery/bitcoin,apoelstra/bitcoin,bitcoin/bitcoin,instagibbs/bitcoin,yenliangl/bitcoin,mruddy/bitcoin,mruddy/bitcoin,domob1812/bitcoin,mruddy/bitcoin,ElementsProject/elements,AkioNak/bitcoin,ajtowns/bitcoin,andreaskern/bitcoin