KVM: Portability: Move memory segmentation to x86.c