core: Return an error for secret key export operations
src/export.c (export_status_handler): Handle "export_keys.secret".
This allows callers of the synchronous export operations to react
properly to errors (e.g. wrong passphrase) during the export of secret
keys.
- GnuPG-bug-id: T5766