Fix to strb_grow that would make strb allocate a lot more memory than
necessary (and possibly put the object in an illegal state).
Start of a "utilities library" that will be used as a lightweight
runtime for the generated template code.