[Git][wine/wine][master] opengl: Avoid infinite recursion in bezier_approximate() in case of degraded curve.