avcodec/extract_extradata: move the reference in the bsf internal buffer