[PATCH v2 4/5] d3d11: Capture and restore geometry shader state.