dmu_tx: Fix possible NULL pointer dereference