ARM: irqflags: avoid disabling IRQs when they're already disabled

Will see if this works