gpgscm: Keep a history of calls for error messages.