net/smc: use after free fix in smc_wr_tx_put_slot()