bugfix in equalizeHist
Merge pull request #2053 from KonstantinMatskevich:ocl_bugfix_eqhist