Fix build on mips, cleanup now unused ARM macros