_numpy_from_sample: Improve error reporting

Print a more useful message when wrong type passed to `_numpy_from_sample`.

I ran into this when mistakenly passing a region as the first argument to
`stbt.ocr`.