ACPI:Fix goto flows in thermal-sys