Fix linking of libggc_veener.la, and add more needed gnulib modules

This is aimed at fixing problems caused by #1251.