cpuidle: extend cpuidle and menu governor to handle dynamic states