SCI: fix another bug in text16 / GetLongest()