cpufreq: fix sleeping in atomic context when realloc freq_table for all_time_in_state