Added some CAF changes from jf kernel

- cpufreq updates
- ARM RWSEM optimization

Change-Id: I174f6cdde4516c57e6ee0d6ee239acc2749b6a6c