zfs: fix NULL assertion in dbuf.c
When porting from OpenZFS master 86e115e to OpenZFS 2.2.x 9c40ae0
an assertion in dbuf.c was converted improperly.
This is a direct commit to stable/14.
OpenZFS PR: 16005
Differential Revision: https://reviews.freebsd.org/D44404