Fixed sys_fork() not calculating ebp_idx correctly