Update imgproc_canny.cl

Reordering condition checking.