ARM: refactor compiler options in config.mk