configure.ac: Add support for --enable-gold.