gl: reduces cases to scaling down image in gaussian filter

We would like to skip stage 0 which is scaling down original
image before apply gaussian filters as much as possible because it causes
one additional framebuffer binding.  If the original image size is smaller
than the scratch surface size, we don't scale