Fix logic error in webvtt_string_putc.

We were using the == operator when we wanted to be using the = operator
in the if statement that checks of the function grow succeeded.

Please review @caitp or @rillian.