CPUFreq: rewrite interpolation formula - division by zero (#9872)