[PATCH 395/415] sched/ext: Fix invalid task state transitions on class switch