message: Check L0 objects before destroying them
diff: @@ -153,8 +153,11 @@ void L0InitContext(ze_driver_handle_t &hDriver, ze_device_handle_t &hDevice, ze_
  void L0DestroyContext(ze_driver_handle_t hDriver, ze_device_handle_t hDevice, ze_context_handle_t hContext,
  ze_module_handle_t hModule, ze_command_queue_handle_t hCommandQueue) {
  + if (hCommandQueue)
  L0_SAFE_CALL(zeCommandQueueDestroy(hCommandQueue));
  + if (hModule)
  L0_SAFE_CALL(zeModuleDestroy(hModule));
  + if (hContext)
  L0_SAFE_CALL(zeContextDestroy(hContext));
  }
  @@ -169,7 +172,9 @@ void L0Create_Kernel(ze_device_handle_t &hDevice, ze_context_handle_t &hContext,
  }
  void L0Destroy_Kernel(ze_command_list_handle_t hCommandList, ze_kernel_handle_t hKernel) {
  + if (hKernel)
  L0_SAFE_CALL(zeKernelDestroy(hKernel));
  + if (hCommandList)
  L0_SAFE_CALL(zeCommandListDestroy(hCommandList));
  }
  