[COVERITY] Fix a buffer overrun and a dereferenced read.
Fix Windows build and some Windows warnings.
Restored the older command line parser, since the new one was out of
place and producing segfaults. *nix produces an already parsed command
line, so it's actually not common and unneeded for them. Moved to win_main.c.
OpenAL headers were outdated, and are unneeded if the actual library is not
shipped, since it will need to be downloaded anyway.
*nix build contains a hack to build (openal_bindings.h contains several
typedefs that would have multiple storage class in anything other than Windows).
This might be why I can't get it to get sound in Linux.
Fix linking.
Fix the warning fixes.
Some portability fixes, some cosmetic, some commenting.