sdl: detect movq issue on any sys and fix it

Previously we only applied the movq fix on osx but apparently it also
affects other systems.
sdl: add comments and whitespace to build script