arm: fix interrupt ack another time

The IAR register also holds the CPUID.  We need to mask only
the bits that we are interested in.