r300g/swtcl: fix geometry corruption by uploading indices to a buffer