Clean up some auto updater code (#31543)

This PR simply does a tiny bit of cleanup on some code, where I wasn't
quite happy with the naming and ordering of parameters of the now
`check_if_fetched_version_is_newer` function. There should be no
functional changes here, but I will wait until after tomorrow's release
to merge.

Release Notes:

- N/A
d5ab42aeb8Joseph T. Lyons committed on 5/28/2025, 3:46:41 PM· committed by GitHubparent07403f0
1 file changedLine totals unavailable