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