softgpu: Advance vertex/index address on prim.

Fixes some broken graphics in a lot of places.
Small optimization to vertex preview.
Merge pull request #4603 from unknownbrackets/softgpu

softgpu: Advance vertex/index address on prim.