sched: Fix struct autogroup memory leak