aux/tgsi: fix some minor glitches in string routines

Not sure why we are open-coding these rather than using standard
library functions.
1 file changed