Support major releases in `wp cli check-update`

Fixes #1390