Update after gnulib changed: Fix link errors of gnulib tests on Windows.
This avoids link errors of some tests in gnulib-tests on Cygwin and mingw
with --enable-shared.
* autogen.sh: Avoid the *-list-tests, since they reference a variable, leading
to a problem with --enable-shared.