Minor optimization for ocl_canny
Correctly unrolled some cycles
Merge pull request #3394 from akarsakov:ocl_canny