End loop if nextc is -1

Found that the following went into a never ending loop when using mirb when compiled with readline support on OSX:

```
"testing" =~ /testing/
```

ISALPHA contains isalpha and that may return true if LOCAL_ALL is not set to C.