test: only declare a main() when fuzzing with AFL
test: only declare a main() when fuzzing with AFL

libFuzzer will provide a main(). This also fixes a weak linking
issue when fuzzing with libFuzzer on macOS.

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