[dawn][fuzzer] Skip setting Vulkan debug name when device is destroyed.

Fixed: 339676639
Change-Id: Ieed2764eb5f93c7d7589e1396378fe37eaf68005
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188223
Auto-Submit: Loko Kung <lokokung@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Loko Kung <lokokung@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/dawn/native/vulkan/UtilsVulkan.cpp b/src/dawn/native/vulkan/UtilsVulkan.cpp
index 46fd82d..bdebb03 100644
--- a/src/dawn/native/vulkan/UtilsVulkan.cpp
+++ b/src/dawn/native/vulkan/UtilsVulkan.cpp
@@ -228,7 +228,7 @@
                           uint64_t objectHandle,
                           const char* prefix,
                           std::string label) {
-    if (!objectHandle) {
+    if (!objectHandle || !device->GetVkDevice()) {
         return;
     }