mesa: Init Geom.UsesEndPrimitive in shader programs.