Fix two potential NULL pointer dereferences in dissect.c