sched: hmp: Fix potential task_struct memory leak