ts_stdlib: change vec cursor and sentinal to use pointers