kernel: sched: Add wait_for_completion_io to BFS