sched: add declaration of sched_tail to sched.h