T-API: attempt to fix compilation of OpenCL cv::transpose for AMD

check_regression=*OCL*Transpose*
test_filter=*OCL*Transpose*
test_modules=core
build_examples=OFF