[PATCH 6.1 018/219] ACPI: extlog: fix NULL pointer dereference check