[PATCH] Factor out common io apic routing entry access