!UPSTREAM: i965/gs: Make EndPrimitive() work with >32 vertices

TODO:
- Make it work with >128 vertices
- Move to appropriate place in series