x86/mm: Factor out LDT init from context init