exec: use qemu_ram_ptr_length to access guest ram