sched/fair: Fix and optimize the fork() path