hang_detection: fix allocating cmdbuf if multiple queues are supported
Found this while working on vkd3d-proton testing in CI. This fixes one assertion in Mesa https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/vulkan/runtime/vk_queue.c#L697
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Found this while working on vkd3d-proton testing in CI. This fixes one assertion in Mesa https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/vulkan/runtime/vk_queue.c#L697