drivers: cpufreq: fix crash that was caused by var j not being reset to 0.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>