Fix host memory allocator for HOST builds

In the VM environment there is a kernel that provides
manages user address space, but on HOST builds we
don't have a kernel and need to emulate it.

This change adds this missing piece to hostMalloc.

Bug: 128324105
Test: emugl_combined_unittests
Change-Id: If6f9aa4113111d47017eb749598ecf3c03e3a609
Signed-off-by: Roman Kiryanov <rkir@google.com>
diff --git a/shared/OpenglCodecCommon/goldfish_address_space_host.impl b/shared/OpenglCodecCommon/goldfish_address_space_host.impl
index db03d25..1c7b4e2 100644
--- a/shared/OpenglCodecCommon/goldfish_address_space_host.impl
+++ b/shared/OpenglCodecCommon/goldfish_address_space_host.impl
@@ -181,7 +181,9 @@
     request.metadata = HOST_MEMORY_ALLOCATOR_COMMAND_ALLOCATE_ID;
 
     HostAddressSpaceDevice::get()->ping(m_provider.m_handle, &request);
-    block->mmap(0);
+
+    void *hostPtr = HostAddressSpaceDevice::get()->getHostAddr(block->physAddr());
+    block->mmap(static_cast<uint64_t>(reinterpret_cast<uintptr_t>(hostPtr)));
 
     return 0;
 }