Fixed mingw build error. Modified function declaration in getopt.h.

A macro definition adds * in front of __argc and __argv, causing
build error with mingw. Renamed them to argc and argv to prevent this.