drifting_buffer: Add dbuf_getdata method

Use to get a pointer to the data segment in the buffer