Partially fix GL_PRIMITIVES_GENERATED
It is a regression for spec@ext_transform_feedback@points-large
but it's gonna be addressed in another patch.
There is no test case testing that, but it also probably needs some work for cases where a geometry shader is enabled.
Edited by Louis-Francis Ratté-Boulianne