cleanup: Fix confusion between gpg_error_t and gpg_err_code_t.