util: Use OpenGL rasterization rules in blits and mipmap generation.