[PATCH v2 7/8] pipe: add pipe_buf_get() helper