core: arm: Add support for GCC 4.8 and 4.9