r600g: rework state emission of vertex buffers