x86: Use this_cpu_has for thermal_interrupt current cpu