Fixes to llvm c for loop

Make the code in build.cpp for generating c for loops dependent on llvm
compilation var instead of the ifdefs.

In lower iterators, generate c for loops as regular for loops (the same as we
do for dynamic iterators) if llvm is turned on. For llvm compilation of c for
loops, it is effectively a for loop with the cond stmt wrapped in a block stmt.