[PATCH 1/5] wined3d: Lock wined3d mutex in wined3d_swapchain_present().