strbuf: introduce strbuf_getline_{lf,nul}()