Józef Kucia : wined3d: Lock wined3d mutex in wined3d_get_adapter_identifier().