gpg: Return an error from hexfingerprint on malloc error.