compat: define PM_EVENT_SLEEP only if not defined