refactor: Avoid sign-compare compiler warning in util/asmap
refactor: Avoid sign-compare compiler warning in util/asmap

This reverts commit eac6a3080d38cfd4eb7204ecd327df213958e51a ("refactor:
Rework asmap Interpret to avoid ptrdiff_t"), because it is UB to form a
past-the-end iterator, even if it is never dereferenced.

Then fix the compiler warning in a different way:
Instead of comparing an uint32_t against a signed ptrdiff_t, just
promote both to a type that can represent both types.

Even though in this case the ptrdiff_t should never hold a negative
value, the overhead from promotion should be negligible.

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