Update av_interleaved_write_frame_with_offset to match av_interleaved_write_frame