[PATCH v3 6/8] pipe: add pipe_buf_get() helper