PowerHAL: Only write to SAMPLING_RATE_ONDEMAND when using Ondemand

Prevents E/CM PowerHAL(  559): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory
Limit log spam (ALOGW -> ALOGV)

Originated from this commit: https://github.com/CyanogenMod/android_device_samsung_qcom-common/commit/1fc615982ba265d301ba8f6fd2184b9a9a3acafb
Merge pull request #2 from NeverGone-RU/patch-1

PowerHAL: Only write to SAMPLING_RATE_ONDEMAND when using Ondemand
Merge branch 'cm10.1' of git://github.com/Andromadus/android_device_htc_msm7x30-common into cm10.1