[PATCH 5.10 080/379] PM: sleep: Fix possible deadlocks in core system-wide PM code