avcodec/libdav1d: use a reference to the allocated buffer instead of wrapping the...