Functionally equivalent, but refactor two copies of local apic initialization code into a shared routine.