opencl: prevent NaN in clip_and_zoom_demosaic_half_size(); this should fix #9957