configure.ac: Add multilib support for gmp.