PM: Rework handling of interrupts during suspend-resume