preparing for TSS initialization

the GDT initialization code needs cleaned up to allow
for installation of more segment descriptors (e.g. TSS)