cpuidle: fix lock contention in the idle path