[PATCH 5.4 104/168] coredump: fix null pointer dereference on coredump