fix typo in MemoryObject.get_host_array, disable get_host_array for MemoryObject without USE_HOST_PTR since the returned array may not be valid