config: use strbuf_split_str instead of a temporary strbuf