Speed up -l, -L, and -c when not using -v

Since these invocations only need to know whether or not a match exists,
or how many matches a file has, we don't need to scan the file line by
line.  This way, we can stay in C land for longer.