tgsi + format: replace asserts by using error returns and fix some OOB access issues
- The asserts are hit easily by fuzzing, so it is better to get an error instead of crashing.
- Fix some error that where found by fuzzing the TGSI token stream
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.