avformat/utils: avoid discarded streams in av_find_default_stream_index()