ENH: allow auto vectorization of integer loops

Generalize the loop specializations with two new macros UNARY_LOOP_FAST
and BINARY_LOOP_FAST and apply it to more integer loops.
Same also gh-4561 which did this for integer boolean operations.