sched: fix the race between walk_tg_tree and sched_create_group