kgsl_pwrscale_ondemand.c: add statistics and small refactoring

Signed-off-by: SkipXS <sskkiipp@gmail.com>