HomeFreeBSD

x86: Reduce code duplication in cpu_fork() and cpu_copy_thread().