tscc2: Fix an out of array access