Fix two deprecation warnings
Use libkleo's Formatting::errorAsString helper which takes care of the
proper (platform-specific) decoding of the error descriptions.
(cherry picked from commit 6be0ec0ceeb8880229771eea826a38c79be8b9db)
- Co-authored-by: Ingo Klöcker <dev@ingo-kloecker.de>