gst/buffer: add a new function for wrapping GBytes