Fixed read off end of array in triangle_list_marker.

I ran across this while running valgrind on rviz.  I don't know that it actually causes a crash, but it certainly was not correct.  Now it is.  Yay!