cubic_scale_denom(): more aggressive pre-scaling
cubic_scale_denom(): more aggressive pre-scaling

When pre-scaling an image, it is safe to scale down to a double the
size of the output image.

ender672/liboil