Fix idtr/gdtr structs and lidt/lgdt functions