Fixed building with OpenCL, but without the ocl module.

`HAVE_opencv_ocl` implies `HAVE_OPENCL`, so checking for both is not necessary.