a quick fix for issue #3094 index out-of-bound when truncating long text to max_seq_length
@okuchaiev

This is a PR for fixing issue #3094 where the index will be out-of-bound when truncating long text ext to max_seq_length in text_classification_dataset.py

Signed-off-by: bugface <alexgre@ufl.edu>