Loader: Fix out-of-memory handling in loaderGetDeviceRegistryFiles

Wrongly handled OOM error causes
dEQP-VK.api.object_management.alloc_callback_fail test to fail, because wrong
error code is returned.
diff --git a/loader/loader.c b/loader/loader.c
index 8d5b529..1a1f08b 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -561,7 +561,7 @@
             loader_log(inst, VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
                 "loaderGetDeviceRegistryFiles: Failed to allocate space for display device names.");
             result = VK_ERROR_OUT_OF_HOST_MEMORY;
-            return false;
+            return result;
         }
     } while (CM_Get_Device_ID_List(displayGUID, pDeviceNames, deviceNamesSize, flags) == CR_BUFFER_SMALL);