tgsi: dump the indices correctly when dealing with 2d arrays