Rewrite FindSDL2's logic to be more flexible

Revert "Fix silly mistake in FindSDL2.cmake"

This reverts commit 0bac4b560ab43baccff0369c9346ebb6492cf190.