zephyr: npcx: fix deep sleep
zephyr: npcx: fix deep sleep

The upstream PR https://github.com/zephyrproject-rtos/zephyr/pull/42040/
made the following change:

From
bool pm_constraint_get(enum pm_state state)
{
	return (atomic_get(&power_state_disable_count[state]) == 0);
}

To
bool pm_policy_state_lock_is_active(enum pm_state state)
{
	return (atomic_get(&state_lock_cnt[state]) != 0);
}

If the PM state lock is set, then the chip is not allowed to enter deep
sleep. Correct the logic to match the new API.

BUG=b:227002506
BRANCH=none
TEST=Boot zephyr on Herobrine.  Valid deep sleep entered after the AP
powers off and the UART is idle.

Signed-off-by: Keith Short <f6d578f97033c25f1206cb57d52f358974c82954@chromium.org>
Change-Id: I7050dc326ab197e53a28cafca5896f6248883074
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3555433
Reviewed-by: Denis Brockus <6b21e8190fb5e373363fb95271367073a16474ef@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec