dirmngr: Avoid accessing uninitialized memory in log callback.