Fix webvtt_string_getline / failing unittest for String.GetLine

As noted in #265, we have a problem where, if string_getline appends to a string and the resulting length is equal to the allocation amount, it will not copy new data into the string and increase the length.

This breaks a couple of other unit tests, and needs to be addressed.