autogen.sh: remove "function" bash-ism