svga: copy buffer contents when switching between host surfaces
A buffer used as both a constant buffer and a vertex/index buffer gets a separate host surface for each. The contents were only copied when the second surface was created (or when switching away from stream output), so later updates to one surface were never seen through the other.
Track when the current surface is modified, and copy its contents to the surface being switched to if that surface is out of date.
The whole buffer is copied on each such switch, so applications that update a buffer and alternate between these uses on every draw may see a performance cost.