Fix missing wallet lock in CWallet::SyncTransaction(..)