[PATCH 5.6 099/167] coredump: fix null pointer dereference on coredump