avcodec/bsf: fix resource leak in av_bsf_list_parse_str