gal: Check maximum framebuffer size (OpenGL).