ENH: allow auto vectorization of integer loops

Same as gh-4561 for more integer operations.
in the first case the compiler has extra information from the if clause and will remove the stride computations for us so we don't need another loop macro.