remove dead/unused code in walletdb.cpp
remove dead/unused code in walletdb.cpp

- closes #5021

Crowndev/crowncoin,domob1812/crowncoin,syscoin/syscoin,syscoin/syscoin,Infernoman/crowncoin,Infernoman/crowncoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,Crowndev/crowncoin,domob1812/crowncoin,domob1812/crowncoin,syscoin/syscoin,Infernoman/crowncoin,syscoin/syscoin,Crowndev/crowncoin,domob1812/crowncoin,Infernoman/crowncoin,syscoin/syscoin,Infernoman/crowncoin,Crowndev/crowncoin,Infernoman/crowncoin,Crowndev/crowncoin,domob1812/crowncoin,Crowndev/crowncoin,domob1812/crowncoin