glscale: Change calculation for scale factor.

We want to aim for an intermediate buffer that is no more than 2x
the screen size, to avoid distortion due to the 2x2 matrix used for
GL_LINEAR interpolation. For 320x240 and less, always use a scale
factor of 1 (essentially just GL_LINEAR).