Fix resendwallettransactions assert failure if -walletbroadcast=0