VideoCommon: Handle wireframe mode in the geometry shader.

We could also do it with fixed functions, but this is generally easier to maintain.