fix erlsha2 on arm platforms

-m32 is not a valid gcc param on arm, so on arm we need to not include it in the CFLAGS