fix some mingw warnings in getopt.c
fix some mingw warnings in getopt.c

From a patch from Claus Klein <claus.klein@arcormail.de>.

chenyukang/ninja,martine/ninja,jimon/ninja,sxlin/dist_ninja,ctiller/ninja,ndsol/subninja,rjogrady/ninja,bradking/ninja,vvvrrooomm/ninja,glensc/ninja,nafest/ninja,nicolasdespres/ninja,mydongistiny/ninja,colincross/ninja,pck/ninja,maruel/ninja,nico/ninja,rjogrady/ninja,iwadon/ninja,Ju2ender/ninja,ilor/ninja,jimon/ninja,kissthink/ninja,syntheticpp/ninja,fuchsia-mirror/third_party-ninja,sgraham/ninja,nicolasdespres/ninja,sxlin/dist_ninja,TheOneRing/ninja,drbo/ninja,kissthink/ninja,juntalis/ninja,jendrikillner/ninja,bradking/ninja,kimgr/ninja,autopulated/ninja,bradking/ninja,sorbits/ninja,fifoforlifo/ninja,syntheticpp/ninja,Qix-/ninja,okuoku/ninja,curinir/ninja,metti/ninja,LuaDist/ninja,nicolasdespres/ninja,nafest/ninja,lizh06/ninja,sorbits/ninja,mutac/ninja,Ju2ender/ninja,autopulated/ninja,dorgonman/ninja,iwadon/ninja,mdempsky/ninja,dabrahams/ninja,chenyukang/ninja,rjogrady/ninja,glensc/ninja,yannicklm/ninja,guiquanz/ninja,bradking/ninja,liukd/ninja,purcell/ninja,okuoku/ninja,syntheticpp/ninja,nicolasdespres/ninja,Ju2ender/ninja,pathscale/ninja,dorgonman/ninja,jimon/ninja,martine/ninja,yannicklm/ninja,liukd/ninja,iwadon/ninja,pathscale/ninja,nickhutchinson/ninja,mohamed/ninja,kissthink/ninja,metti/ninja,nico/ninja,drbo/ninja,autopulated/ninja,AoD314/ninja,ignatenkobrain/ninja,okuoku/ninja,ikarienator/ninja,mohamed/ninja,sgraham/ninja,ThiagoGarciaAlves/ninja,dendy/ninja,rnk/ninja,ndsol/subninja,Ju2ender/ninja,autopulated/ninja,curinir/ninja,ignatenkobrain/ninja,Maratyszcza/ninja-pypi,mgaunard/ninja,yannicklm/ninja,sxlin/dist_ninja,mgaunard/ninja,mutac/ninja,AoD314/ninja,colincross/ninja,Maratyszcza/ninja-pypi,LuaDist/ninja,jsternberg/ninja,nocnokneo/ninja,chenyukang/ninja,sxlin/dist_ninja,synaptek/ninja,moroten/ninja,hnney/ninja,jsternberg/ninja,ignatenkobrain/ninja,nico/ninja,ctiller/ninja,lizh06/ninja,ndsol/subninja,ninja-build/ninja,vvvrrooomm/ninja,dendy/ninja,Qix-/ninja,metti/ninja,Qix-/ninja,mydongistiny/ninja,ilor/ninja,jimon/ninja,nickhutchinson/ninja,dabrahams/ninja,ninja-build/ninja,rnk/ninja,pck/ninja,nafest/ninja,lizh06/ninja,martine/ninja,dpwright/ninja,jsternberg/ninja,dorgonman/ninja,fifoforlifo/ninja,ctiller/ninja,maruel/ninja,Qix-/ninja,barak/ninja,guiquanz/ninja,fuchsia-mirror/third_party-ninja,sgraham/ninja,dendy/ninja,moroten/ninja,guiquanz/ninja,lizh06/ninja,liukd/ninja,mgaunard/ninja,dorgonman/ninja,nocnokneo/ninja,TheOneRing/ninja,bmeurer/ninja,ikarienator/ninja,barak/ninja,mutac/ninja,atetubou/ninja,fifoforlifo/ninja,liukd/ninja,tfarina/ninja,maruel/ninja,rjogrady/ninja,kimgr/ninja,sxlin/dist_ninja,jendrikillner/ninja,synaptek/ninja,hnney/ninja,syntheticpp/ninja,hnney/ninja,sorbits/ninja,mdempsky/ninja,pck/ninja,jsternberg/ninja,jhanssen/ninja,kissthink/ninja,ThiagoGarciaAlves/ninja,ctiller/ninja,ikarienator/ninja,jendrikillner/ninja,chenyukang/ninja,sxlin/dist_ninja,barak/ninja,atetubou/ninja,moroten/ninja,dendy/ninja,glensc/ninja,curinir/ninja,ninja-build/ninja,mdempsky/ninja,purcell/ninja,vvvrrooomm/ninja,tfarina/ninja,mohamed/ninja,ThiagoGarciaAlves/ninja,Maratyszcza/ninja-pypi,ikarienator/ninja,automeka/ninja,TheOneRing/ninja,glensc/ninja,nico/ninja,colincross/ninja,pathscale/ninja,yannicklm/ninja,pck/ninja,mydongistiny/ninja,dabrahams/ninja,ilor/ninja,TheOneRing/ninja,LuaDist/ninja,purcell/ninja,tfarina/ninja,bmeurer/ninja,fuchsia-mirror/third_party-ninja,automeka/ninja,AoD314/ninja,mdempsky/ninja,mydongistiny/ninja,rnk/ninja,curinir/ninja,fuchsia-mirror/third_party-ninja,metti/ninja,ninja-build/ninja,barak/ninja,juntalis/ninja,jendrikillner/ninja,tfarina/ninja,kimgr/ninja,sgraham/ninja,colincross/ninja,jhanssen/ninja,ignatenkobrain/ninja,jhanssen/ninja,dabrahams/ninja,bmeurer/ninja,sxlin/dist_ninja,nickhutchinson/ninja,mgaunard/ninja,dpwright/ninja,ndsol/subninja,juntalis/ninja,jhanssen/ninja,nocnokneo/ninja,synaptek/ninja,fifoforlifo/ninja,drbo/ninja,purcell/ninja,juntalis/ninja,AoD314/ninja,guiquanz/ninja,mutac/ninja,nafest/ninja,martine/ninja,rnk/ninja,automeka/ninja,mohamed/ninja,drbo/ninja,automeka/ninja,synaptek/ninja,Maratyszcza/ninja-pypi,atetubou/ninja,hnney/ninja,maruel/ninja,iwadon/ninja,dpwright/ninja,ilor/ninja,vvvrrooomm/ninja,kimgr/ninja,nocnokneo/ninja,ThiagoGarciaAlves/ninja,dpwright/ninja,nickhutchinson/ninja,sorbits/ninja,okuoku/ninja,atetubou/ninja,bmeurer/ninja,LuaDist/ninja,pathscale/ninja,moroten/ninja