[wallet] Make CWallet::FundTransaction atomic