thermal: Replace acpi_bus_get_device()