If multiple threads are creating and releasing the factory, these accesses are racy and can result in callers of DXCoreCreateAdapterFactory getting a null pointer or a pointer to freed memory.
-- v2: dxcore: Use a static structure for the adapter factory.