sched/wakeup: Reorganize the current::__state helpers