Catch invalid characters early in cyclic_find()

Catch invalid characters early in cyclic_find().  Sometimes I forget to `u32()` the data, and it searches forever for eight bytes of irrelevant data.

Without this patch, the following will hang ~forever.

```python
not_in_alphabet = '61616161'
cyclic_find(not_in_alphabet)
```