ocl/test/test_imgproc.cpp refactoring