D3D: Set the geometry before every draw call.

Prevents redundant geometry shader changes and seems to work around a state manager bug.