wallet: Properly set hd chain counters when loading
wallet: Properly set hd chain counters when loading

When build CHDChains out of CKeyMetadata, the chain counters are
actually 1 based, not 0 based, so 1 must be added to each index.

particl/particl-core,jamesob/bitcoin,anditto/bitcoin,bitcoinsSG/bitcoin,fujicoin/fujicoin,mruddy/bitcoin,fujicoin/fujicoin,achow101/bitcoin,fanquake/bitcoin,ajtowns/bitcoin,GroestlCoin/bitcoin,namecoin/namecoin-core,bitcoin/bitcoin,kallewoof/bitcoin,namecoin/namecoin-core,sstone/bitcoin,GroestlCoin/GroestlCoin,kallewoof/bitcoin,GroestlCoin/bitcoin,ajtowns/bitcoin,jamesob/bitcoin,tecnovert/particl-core,fanquake/bitcoin,sipsorcery/bitcoin,achow101/bitcoin,bitcoinsSG/bitcoin,jambolo/bitcoin,kallewoof/bitcoin,anditto/bitcoin,bitcoin/bitcoin,jamesob/bitcoin,bitcoinsSG/bitcoin,sipsorcery/bitcoin,jambolo/bitcoin,Xekyo/bitcoin,lateminer/bitcoin,andreaskern/bitcoin,domob1812/bitcoin,achow101/bitcoin,instagibbs/bitcoin,namecoin/namecoin-core,andreaskern/bitcoin,mruddy/bitcoin,GroestlCoin/bitcoin,namecoin/namecore,ajtowns/bitcoin,particl/particl-core,bitcoinknots/bitcoin,jambolo/bitcoin,lateminer/bitcoin,sstone/bitcoin,sipsorcery/bitcoin,andreaskern/bitcoin,andreaskern/bitcoin,namecoin/namecore,instagibbs/bitcoin,namecoin/namecore,mruddy/bitcoin,jlopp/statoshi,fujicoin/fujicoin,AkioNak/bitcoin,GroestlCoin/GroestlCoin,fujicoin/fujicoin,AkioNak/bitcoin,Xekyo/bitcoin,particl/particl-core,particl/particl-core,fanquake/bitcoin,bitcoin/bitcoin,sipsorcery/bitcoin,jambolo/bitcoin,bitcoin/bitcoin,dscotese/bitcoin,fujicoin/fujicoin,kallewoof/bitcoin,jlopp/statoshi,namecoin/namecore,sstone/bitcoin,bitcoin/bitcoin,Xekyo/bitcoin,lateminer/bitcoin,tecnovert/particl-core,AkioNak/bitcoin,Xekyo/bitcoin,bitcoinsSG/bitcoin,GroestlCoin/bitcoin,kallewoof/bitcoin,jlopp/statoshi,particl/particl-core,bitcoin/bitcoin,jlopp/statoshi,Xekyo/bitcoin,anditto/bitcoin,namecoin/namecore,instagibbs/bitcoin,GroestlCoin/GroestlCoin,mruddy/bitcoin,dscotese/bitcoin,lateminer/bitcoin,bitcoinsSG/bitcoin,achow101/bitcoin,namecoin/namecore,achow101/bitcoin,lateminer/bitcoin,ajtowns/bitcoin,anditto/bitcoin,lateminer/bitcoin,sipsorcery/bitcoin,fanquake/bitcoin,GroestlCoin/bitcoin,ajtowns/bitcoin,domob1812/bitcoin,sipsorcery/bitcoin,jamesob/bitcoin,mruddy/bitcoin,jambolo/bitcoin,AkioNak/bitcoin,AkioNak/bitcoin,AkioNak/bitcoin,sstone/bitcoin,jlopp/statoshi,fujicoin/fujicoin,instagibbs/bitcoin,ajtowns/bitcoin,fanquake/bitcoin,particl/particl-core,bitcoinknots/bitcoin,fanquake/bitcoin,domob1812/bitcoin,tecnovert/particl-core,sstone/bitcoin,jamesob/bitcoin,Xekyo/bitcoin,anditto/bitcoin,jlopp/statoshi,GroestlCoin/bitcoin,domob1812/bitcoin,dscotese/bitcoin,dscotese/bitcoin,andreaskern/bitcoin,GroestlCoin/GroestlCoin,tecnovert/particl-core,mruddy/bitcoin,bitcoinsSG/bitcoin,tecnovert/particl-core,jambolo/bitcoin,bitcoinknots/bitcoin,domob1812/bitcoin,instagibbs/bitcoin,bitcoinknots/bitcoin,andreaskern/bitcoin,tecnovert/particl-core,sstone/bitcoin,kallewoof/bitcoin,domob1812/bitcoin,anditto/bitcoin,namecoin/namecoin-core,GroestlCoin/GroestlCoin,GroestlCoin/GroestlCoin,namecoin/namecoin-core,bitcoinknots/bitcoin,dscotese/bitcoin,instagibbs/bitcoin,achow101/bitcoin,dscotese/bitcoin,namecoin/namecoin-core,jamesob/bitcoin