Move JIT code allocation to JitMemoryRegion. am: 349845ae9c
am: 68f00c327b

Change-Id: Ia272d3b30298abcb8f9c2483669fc38bea9c5bec