lavf: make cmdutils's check_stream_specifier public.