CharWindow: fix a bug with .containsCharAtIndex()

The index we are looking for must be strictly less than the window offset +
size, not less or equal.