Apply bugfix #3121 for OCL.
Merge pull request #1259 from pengx17:2.4_fix_cvtcolor