UMat: fix memory leaks

Problem is reproduced with disabled OpenCL runtime (OPENCV_OPENCL_RUNTIME="")
This fix is required for #1984.