lavc: properly handle subtitle_header in avcodec_copy_context()