Allow to customize max loop unroll iterations.

The default 8 is too low for some shaders, especially given the loop body
complexity of 15 in unroll_loops. Ideally need to tweak that as well, but
externally controlled iteration count allows to set it to be very large
to force all loops to unroll.