Scanner: Remove global version check
libwayland-server ensures that the requested version is less than or equal to the global version.
This change removes the global version check to simplify the generated code and reduce memory usage footprint, however the latter shouldn't be that noticeable.
See also https://codereview.qt-project.org/c/qt/qtwayland/+/336271