gaussian-blur: Avoid processing lots of abyss

Trim the process rects to avoid generating useless abyss in the
horizontal step, and discarded pixels in the vertical step.