powerpc/powernv: Fix race in updating core_idle_state