Fix compiler warnings (int -> size_t)
Add user_context to halide_printf call
When vectorizing allocation, new dimension comes first

The ordering of dimensions in an allocate currently doesn't matter.
But if it ever does, it will be innermost first.