Fix path completion when UTF8 char is occurring before match characters.

Small fix to #8838 so completion works again on: `"β $dir_space\\space"`, @tkelman, @ivarne
Doesn't `s[sizeof(s) - start + 1]` work fine?