wined3d: Add err for failure case in CheckDepthStencilMatch.