The constness of the pointers was correct

- Only the #[repr(packed)] was needed to fix the IDT and GDT
Removed some unused code