[PATCH 6.6 019/322] ACPI: extlog: fix NULL pointer dereference check