tests: Fix InvalidQueueFamilyIndex error

This test wasn't allocating enough space to fit the buffer it creates on
some devices.
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index 4e27455..25d9e9e 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -13101,7 +13101,7 @@
 
         VkMemoryAllocateInfo alloc_info = {};
         alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO;
-        alloc_info.allocationSize = 1024;
+        alloc_info.allocationSize = mem_reqs.size;
         bool pass = false;
         pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT);
         if (!pass) {