string.c: case byte * to const char * when calling strlen (prevent static-analysis warnings)

We get a few warnings reported from the static analysis tools in Mozilla, we should address some of them (they're likely reported in our scan-build run on travis-CI as well)

One very common one is calls to strlen() which expects const char *, but is actually getting const webvtt_byte *.