avformat/utils: replace impossible condition by av_assert0() in ff_gen_search()