[T-API] several bug fixes in transparent API

fixed several problems with UMat::getMat() and Mat::getUMat(); fixed pro...blem in Kernel::setArg(); fixed memory allocation in the OpenCL compile error retrieval code. Big thanks to Ilya L