x86: early_idt_handler improvements, 64-bit