generic: AROS sys_main fixes refs #179

AROS is a fairly low level system, and NET_Shutdown must be called on
exit to close sockets, and bsdsocket.library. Also argv[0] can't be
trusted unless the game is started from the shell.