ACPI: move thermal trip handling to generic thermal layer