dmu_tx: Fix possible NULL pointer dereference

dmu_tx_hold_object_impl can return NULL on error.  Check or this condition prior to dereferencing pointer.

Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>