Fix to process_gerror to correctly call g_clear_error on ptr-ptr gerr