avformat/utils: be more strict about stream specifiers