VideoCommon: Handle wireframe mode in the geometry shader.

We could also do it with fixed functions, but this is generally easier to maintain.
can you please grep through our code base and remove all other usages of glPolygonMode?