Adding flag placeholders to semaphores/events. (#18122)

Events also gain a queue affinity that can be used to indicate which
queues a particular event may be set/waited on. The flags are currently
unused but will allow us to specify behavior modes in the future (such
as making exportable semaphores opt-in).

Since semaphores and events aren't yet exposed in the compiler there
were no changes needed there. The compiler will not (in common usage)
ever return new semaphores so will not need exportable flags and other
things we'll potentially add - applications will be setting those via
the C API.

Progress on #18121 (event queue affinity needed for
[VK_KHR_device_group](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_device_group.html)).
diff --git a/tools/iree-benchmark-module-main.cc b/tools/iree-benchmark-module-main.cc
index fd08546..ec031fd 100644
--- a/tools/iree-benchmark-module-main.cc
+++ b/tools/iree-benchmark-module-main.cc
@@ -252,8 +252,8 @@
     std::vector<vm::ref<iree_hal_semaphore_t>> timeline_semaphores;
     for (int32_t i = 0; i < batch_concurrency; ++i) {
       vm::ref<iree_hal_semaphore_t> timeline_semaphore;
-      IREE_CHECK_OK(
-          iree_hal_semaphore_create(device, 0ull, &timeline_semaphore));
+      IREE_CHECK_OK(iree_hal_semaphore_create(
+          device, 0ull, IREE_HAL_SEMAPHORE_FLAG_NONE, &timeline_semaphore));
       timeline_semaphores.push_back(std::move(timeline_semaphore));
     }