[jit] Extract the ctor calling code from the NEWOBJ implementation into a separate function.