gpg: Add debug helper to --edit-keys's check sub-command.