[PATCH 5.4 072/267] ACPI: extlog: fix NULL pointer dereference check