Implemented il-gen of the New operator

It calculates the allocated size and stores the size of the memory block
as well as the size of each array component.

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>