Modeling Analysis of the Upper Limit Water Level Mechanism in the Upstream Reservoir of a Dam Embankment