[openEuler-5.10 288/557] cpuidle: Fix kobject memory leaks in error paths