cleaned up run_first_proc() code

moved run_first_proc() into kernel/exec.c and wrote iret_to_userspace
in arch/x86/cpu.c. This should probably be moved out of cpu.c and
into a different file.