.gitignore: don't ignore the entire config directory

It's useful to put our own .m4 files in config, so just ignore the
specific Autotools-generated files.