sched/wait: Introduce init_wait_entry()