mem64_t replaced

Added conversion from vm::var to vm::ptr of the same type.