common/iobuf.c: Improve iobuf_peek.