Improve the GPGME check

If GPGME is not on the system, configure should fail. By default this is
not the case, so use `AC_MSG_ERROR` to show an error message and fail.