Fix ocl::equalizeHist mismatch

synchronize the kernel with cpu algorithm