configure.ac: fix bashism in ARM optimization handling