Disassembler: Add a null return pointer check in dmbuffer.c

Prevent a "possible" null pointer dereference.
Reported by Bonnie Zhang <bonnie.zhang@oracle.com>