Prevent updates between multiple major versions

Testplan:

- Increment version in version.php for 1 major release => Update works
- Increment version in version.php for 2 major releases => Update does not work

Ref https://github.com/owncloud/core/issues/11078