refactor: move uncompressed-permitted logic into ParsePubkey*
refactor: move uncompressed-permitted logic into ParsePubkey*

This is a preparation for parsing xonly pubkeys, which will complicate
this logic. It's cleaner to put the decision logic close to the public
key parsing itself.

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