Fix RendererVk::getMaxSupportedESVersion() to truly downgrade max version
Fix RendererVk::getMaxSupportedESVersion() to truly downgrade max version

Added a small helper function (LimitVersionTo) to prevent future mistakes.

Bug: angleproject:4168
Change-Id: Ia19312459540adbc2788ad0a5cb3d19ef1ff784f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1992185
Commit-Queue: Jamie Madill <7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org>
Reviewed-by: Ian Elliott <ac50c12f27752fd82643b0b72adab33538bb2c97@google.com>
Reviewed-by: Shahbaz Youssefi <582eeec4f08a2ccd61e3ef52115e6e7c571582de@chromium.org>

ppy/angle,ppy/angle,ppy/angle,ppy/angle