[Wallet] keep HD seed during salvagewallet
Calling -salvagewallet (CWalletDB::Recover in keys only mode) will result in dropping the information which private key is used for hd key derivation (and also loses the child key counter).
This simple PR would try to keep the hdchain record if it was available during the time when -salvagewallet was called.