intel: fix copying of create info

For XGL_STRUCTURE_TYPE_DEVICE_CREATE_INFO, we need to do a deep copy.  To
achieve, we need to derive the type of the create info from within
intel_base_dbg_create().

As usual, this is untested.
diff --git a/icd/intel/mem.c b/icd/intel/mem.c
index c887a8e..7f1cc7f 100644
--- a/icd/intel/mem.c
+++ b/icd/intel/mem.c
@@ -43,8 +43,8 @@
 
     mem->base.dispatch = dev->base.dispatch;
     if (dev->base.dbg) {
-        mem->base.dbg = intel_base_dbg_create(XGL_DBG_OBJECT_GPU_MEMORY,
-                NULL, 0, 0);
+        mem->base.dbg =
+            intel_base_dbg_create(XGL_DBG_OBJECT_GPU_MEMORY, info, 0);
         if (!mem->base.dbg) {
             intel_mem_free(mem);
             return XGL_ERROR_OUT_OF_MEMORY;