ARM: fix scheduling while atomic warning in alignment handling code