configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.