Adapt OPENSSL_DEBUG_KEYGEN to the new generic trace API