Fix QVM loading
Fix memory allocation inside the QVM for VM_LOCAL calls