wined3d: Use dynamic state for multisample state if possible.