Added usage of OrdinalAllocator in for statements in compiler.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>