dzn: Set factory flags before creating device
I got this in d3d12 but missed it in dzn. Can cause device creation to fail if (for example) d3d12 was already initialized and enabled the debug layer on a driver that doesn't support independent devices.