replace remaining usage of deprecated av_metadata_set2() by av_dict_set()