gpg: Avoid to emit a compliance mode line if libgcrypt is non-compliant.
* g10/encrypt.c (check_encryption_compliance): Check gcrypt compliance before emitting an ENCRYPTION_COMPLIANCE_MODE status.
Ported-from: 07c6743148d4abd30fb8bf08b07eb9755fdfff2d
- GnuPG-bug-id: T6221