avpacket: add a function for wrapping existing data as side data