vkGetDeviceQueue2: fix the NULL check

Contents of VkQueue* needs to be checked against VK_NULL_HANDLE

Test: dEQP-VK.api.device_init.create_device_queue2*
Bug: b/72867433
Change-Id: I39643a75497ef4e59823c6bb90760d34b81f5865
1 file changed