cpufreq: added more protection during showing and storing

policy freq/governor limits.

*Protect the functions for one write each time to prevent deadlock.
*Fix macro functions code style.

original work by Alucard24

https://github.com/Alucard24/Alucard-Kernel-jfltexx/commit/6b2c8ad60c536f6b2b21ee620aa7570b55c07e3b