GDT and IDT setup. QEMU crash with -O2.