T-API: safe destructor of cv::Context2