strbuf: add strbuf_read_once to read without blocking