build: Fix m4/gpg-error.m4.
* m4/gpg-error.m4: Unset GPGRT_CONFIG when it doesn't work well.
Cherry-picked the master commit of:
bff9f1b024647e18b2c87dcd769c0e449f7752e6
With older version of libgpg-error (< 1.33), the gpgrt-config
script doesn't support .pc files.
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>