SDL: Use exit codes from headers
SDL: Fix misuse of GetRenderer, improve error handling