strbuf: use strbuf_addchars() for adding a char multiple times