gpg: Add option --exit-on-status-write-error
* src/engine-gpg.c (gpg_new): Add --exit-on-status-write-error if the engine version is latest enough to expect progress output from gpg.
Changed the version test from the patch to use the newer
have_gpg_version.
- GnuPG-bug-id: T1415
- Signed-off-by: Werner Koch <wk@gnupg.org>