autogen.sh: stop using bashisms

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>