[PATCH V3 6/6] cpuidle: menu: Move the update function before its declaration