arm: Fix compatibility with linaro toolchain