dxgi: Introduce a helper function to convert dxgi multisample info to wined3d.