powerpc/powernv: Handle irq_happened flag correctly in off-line loop