unify critical_section and nxsem with pm_lock/pm_unlock Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>