Do not define Darwin SDL entrypoints if SDL is disabled

The SDL related initialization functions should only be
compiled in if SDL has also been enabled in the build.
This was discovered after getting build errors on macOS
with SDL disabled.
15 jobs for !214 with guard-darwin-sdl-entrypoint in 8 minutes and 41 seconds (queued for 23 seconds)
latest merge request