T-API: minor ocl.cpp refactoring

suppresses https://github.com/Itseez/opencv/pull/2148