Update autogen.sh and gpg-error.m4 from upstream.
Cherry-pick master commit of: ce034f729099daa63e79985f2cc68a835e7e790e
See