wined3d: Use the device name stored in the adapter in wined3d_get_adapter_mode_count().