Fixes #277 - Remove unnecessary 'const' attributes in string.h

This resolves a warning incurred with -Wall.

I've also removed the attribute from the definition of the function in
string.c as well.
Merge pull request #277 from caitp/issue-277

[warning] Pointless 'const' attribute to 'uint32' return values in webvtt/string.h