loapic_intr: factor (out) APIC accesses in static functions

This will accomodate newer access models later, with variations of those
functions' contents.

Signed-off-by: Gustavo Lima Chaves <gustavo.lima.chaves@intel.com>
1 file changed