Fixed out-of-bounds access in findVector().

The check at line 140 doesn't prevent an out-of-bounds access in the case like this:
```
ByteVector v("0123456789")
int i = v.find("789x", 7));  // Should return -1, but might return 7 by chance.
```