Merge pull request #11710 from TellowKrinkle/SDL2Framework CMake: Fix building against macOS framework builds of SDL