x86: apic - introduce imcr_ helpers