tts/text_reader.cpp: fix handling the last token on text events