sobel: Bring OpenCL implementation closer to the C one

There is still the case of removing the sobel radius and access out
of rect bounds.