ACPI: fix boot oops regression in thermal