sw:vec-iree: Enable Memory statistics log

Controlled by IREE_STATISTICS_ENABLE=1 macro (default: 1)

```
(monitor) $bin=@out/springbok_iree/samples/quant_model_embedding/daredevil_embedded_sync
(monitor)  i @sim/config/springbok.resc
...
01:46:22.0212 [INFO] machine-0: Machine started.
(machine-0)  sysbus.cpu2 IsHalted False
(machine-0) 01:46:30.5872 [INFO] cpu2: simprint: "INFO |Output #0 data length: 527
    ", 0 (0x0)
01:46:30.6017 [INFO] cpu2: simprint: "[[ iree_hal_allocator_t memory statistics ]]", 0 (0x0)
01:46:30.6026 [INFO] cpu2: simprint: "  HOST_LOCAL:            0B peak /            0B allocated /            0B freed /            0B live", 0 (0x0)
01:46:30.6027 [INFO] cpu2: simprint: "DEVICE_LOCAL:      1445663B peak /      1445663B allocated /      1445663B freed /            0B live", 0 (0x0)
01:46:30.6042 [INFO] cpu2: simprint: "INFO |daredevil_quant finished successfully", 0 (0x0)
01:46:30.6052 [INFO] cpu2: simprint: "main returned: ", 0 (0x0)
```

Change-Id: Ib3038efa1e5541b268b70982df8e1a3af061fe10
diff --git a/samples/util/util.c b/samples/util/util.c
index e24684f..d618534 100644
--- a/samples/util/util.c
+++ b/samples/util/util.c
@@ -169,8 +169,10 @@
   iree_vm_list_release(inputs);
   iree_vm_list_release(outputs);
   iree_aligned_free(arg0_buffer);
-  iree_hal_device_release(device);
   iree_vm_context_release(context);
+  IREE_IGNORE_ERROR(iree_hal_allocator_statistics_fprint(
+        stdout, iree_hal_device_allocator(device)));
+  iree_hal_device_release(device);
   iree_vm_instance_release(instance);
   return result;
 }
diff --git a/springbok_config.h b/springbok_config.h
index c2a3c8f..974730d 100644
--- a/springbok_config.h
+++ b/springbok_config.h
@@ -10,4 +10,8 @@
     return 0;            \
   }
 
+// IREE_DEVICE_SIZE_T for status print out.
+#define IREE_DEVICE_SIZE_T uint32_t
+#define PRIdsz PRIu32
+
 #endif // SPRINGBOK_CONFIG_H