libc: Add ARCH_ARM flags to enable new optimizations

Change-Id: I2a436f0730201509c6e53da7447835653d75f7f5