wc: Avoid unnecessary work in general loop
wc: Avoid unnecessary work in general loop

This gives a big speedup if e.g. only characters are being counted.

uutils/coreutils,uutils/coreutils,uutils/coreutils