CMake 3.27 deprecates compatibility with CMake < 3.5. Update find module tests to avoid the deprecation warning.
Also provide `SDL_VERSION[_{MAJOR,MINOR,PATCH}]`. Fixes: #12911