sched/wait: Break up long wake list walk