Warning when trying to change frequency of highest non-boost P-state

As promised a patch to add a warning message. My C++ is very rusty (haven't used it since university), so feel free to reject it or base your own implementation on my code.