Call SDL_Quit() on exit

Hopefully this may fix issue where exe very occasionally continues to
run in background after exit. See chocolate-doom/chocolate-doom#408.

Conflicts:
	src/i_system.c