libavfilter/filtfmts: fix argv/argc checks