TAPI: fix memory leak for Mat::getUMat() operation

Merge and rerun tests for #1735 (UMat tests)