sdl2: fix build on 10.4, 10.5, 10.6
sdl2: fix build on 10.4, 10.5, 10.6

Fixes mistydemeo/tigerbrew#361.
Fixes #37837.

iostat/homebrew2,joshfriend/homebrew,redpen-cc/homebrew,teslamint/homebrew,ebouaziz/linuxbrew,dalanmiller/homebrew,gicmo/homebrew,Asuranceturix/homebrew,saketkc/linuxbrew,afh/homebrew,scorphus/homebrew,quantumsteve/homebrew,vigo/homebrew,ryanfb/homebrew,Angeldude/linuxbrew,kenips/homebrew,optikfluffel/homebrew,ablyler/homebrew,booi/homebrew,michaKFromParis/homebrew-sparks,LinusU/homebrew,dalanmiller/homebrew,knpwrs/homebrew,elyscape/homebrew,SteveClement/homebrew,getgauge/homebrew,quantumsteve/homebrew,jsjohnst/homebrew,royhodgman/homebrew,treyharris/homebrew,scorphus/homebrew,alebcay/homebrew,AlexejK/homebrew,dickeyxxx/homebrew,Homebrew/homebrew,gawbul/homebrew,marcwebbie/homebrew,nandub/homebrew,georgschoelly/homebrew,redpen-cc/homebrew,josa42/homebrew,getgauge/homebrew,josa42/homebrew,SuperNEMO-DBD/cadfaelbrew,sometimesfood/homebrew,brunchboy/homebrew,ryanfb/homebrew,sometimesfood/homebrew,MartinDelille/homebrew,jarrettmeyer/homebrew,dongcarl/homebrew,galaxy001/homebrew,LinusU/homebrew,emcrisostomo/homebrew,sakra/homebrew,tschoonj/homebrew,dericed/homebrew,thinker0/homebrew,scorphus/homebrew,dplarson/homebrew,SteveClement/homebrew,michaKFromParis/homebrew-sparks,mmizutani/homebrew,gicmo/homebrew,johanhammar/homebrew,cprecioso/homebrew,marcwebbie/homebrew,skatsuta/homebrew,yazuuchi/homebrew,SteveClement/homebrew,adamliter/homebrew,MartinDelille/homebrew,optikfluffel/homebrew,MoSal/homebrew,slyphon/homebrew,Asuranceturix/homebrew,scpeters/homebrew,emcrisostomo/homebrew,pcottle/homebrew,dericed/homebrew,booi/homebrew,menivaitsi/homebrew,ear/homebrew,influxdb/homebrew,ento/homebrew,galaxy001/homebrew,cosmo0920/homebrew,brunchboy/homebrew,reelsense/homebrew,dgageot/homebrew,decors/homebrew,3van/homebrew,skinny-framework/homebrew,cprecioso/homebrew,optikfluffel/homebrew,miketheman/homebrew,alebcay/homebrew,skatsuta/homebrew,hakamadare/homebrew,theeternalsw0rd/homebrew,theeternalsw0rd/homebrew,sferik/homebrew,tutumcloud/homebrew,TaylorMonacelli/homebrew,benjaminfrank/homebrew,Asuranceturix/homebrew,ablyler/homebrew,muellermartin/homebrew,dplarson/homebrew,frodeaa/homebrew,dunn/homebrew,influxdb/homebrew,OJFord/homebrew,dplarson/homebrew,pcottle/homebrew,apjanke/homebrew,georgschoelly/homebrew,sferik/homebrew,booi/homebrew,jamer/homebrew,ralic/homebrew,influxdb/homebrew,Red54/homebrew,jamer/homebrew,jsjohnst/homebrew,frodeaa/homebrew,skinny-framework/homebrew,mkrapp/homebrew,jarrettmeyer/homebrew,michaKFromParis/homebrew-sparks,apjanke/homebrew,scpeters/homebrew,eighthave/homebrew,OJFord/homebrew,joshfriend/homebrew,filcab/homebrew,lrascao/homebrew,elyscape/homebrew,scpeters/homebrew,liamstask/homebrew,emcrisostomo/homebrew,youtux/homebrew,scorphus/homebrew,benjaminfrank/homebrew,haihappen/homebrew,SteveClement/homebrew,sjackman/linuxbrew,Linuxbrew/linuxbrew,mkrapp/homebrew,yazuuchi/homebrew,nandub/homebrew,thinker0/homebrew,saketkc/linuxbrew,bukzor/linuxbrew,influxdb/homebrew,bigbes/homebrew,deorth/homebrew,danieroux/homebrew,muellermartin/homebrew,totalvoidness/homebrew,OJFord/homebrew,gnubila-france/linuxbrew,royhodgman/homebrew,zchee/homebrew,ear/homebrew,skatsuta/homebrew,Homebrew/linuxbrew,elgertam/homebrew,youtux/homebrew,osimola/homebrew,kenips/homebrew,tutumcloud/homebrew,lrascao/homebrew,slyphon/homebrew,cscetbon/homebrew,drbenmorgan/linuxbrew,iandennismiller/homebrew,polishgeeks/homebrew,liamstask/homebrew,DoomHammer/linuxbrew,chadcatlett/homebrew,iandennismiller/homebrew,redpen-cc/homebrew,princeofdarkness76/homebrew,drewwells/homebrew,royhodgman/homebrew,yazuuchi/homebrew,cscetbon/homebrew,saketkc/linuxbrew,kodabb/homebrew,totalvoidness/homebrew,theeternalsw0rd/homebrew,brunchboy/homebrew,influxdata/homebrew,ExtremeMan/homebrew,osimola/homebrew,bukzor/linuxbrew,kodabb/homebrew,Asuranceturix/homebrew,cosmo0920/homebrew,getgauge/homebrew,hakamadare/homebrew,saketkc/linuxbrew,hongkongkiwi/homebrew,Angeldude/linuxbrew,elgertam/homebrew,ablyler/homebrew,kevinastone/homebrew,vigo/homebrew,dplarson/homebrew,afh/homebrew,kevinastone/homebrew,thinker0/homebrew,sometimesfood/homebrew,chadcatlett/homebrew,SteveClement/homebrew,Linuxbrew/linuxbrew,marcwebbie/homebrew,sakra/homebrew,treyharris/homebrew,nandub/homebrew,decors/homebrew,ear/homebrew,sferik/homebrew,Chilledheart/homebrew,BrewTestBot/homebrew,ralic/homebrew,Red54/homebrew,dunn/homebrew,joshfriend/homebrew,Chilledheart/homebrew,Asuranceturix/homebrew,mobileoverlord/homebrew-1,gnubila-france/linuxbrew,kevinastone/homebrew,AlexejK/homebrew,polishgeeks/homebrew,tschoonj/homebrew,3van/homebrew,Linuxbrew/linuxbrew,dgageot/homebrew,zchee/homebrew,princeofdarkness76/homebrew,royhodgman/homebrew,yazuuchi/homebrew,skinny-framework/homebrew,drewwells/homebrew,dgageot/homebrew,yumitsu/homebrew,drbenmorgan/linuxbrew,retrography/homebrew,keith/homebrew,zchee/homebrew,dickeyxxx/homebrew,ExtremeMan/homebrew,miketheman/homebrew,kodabb/homebrew,ento/homebrew,georgschoelly/homebrew,eighthave/homebrew,cprecioso/homebrew,Homebrew/linuxbrew,Homebrew/homebrew,danieroux/homebrew,dericed/homebrew,youtux/homebrew,bigbes/homebrew,kenips/homebrew,retrography/homebrew,benjaminfrank/homebrew,TaylorMonacelli/homebrew,ralic/homebrew,keith/homebrew,ilovezfs/homebrew,jamer/homebrew,tutumcloud/homebrew,cosmo0920/homebrew,benjaminfrank/homebrew,georgschoelly/homebrew,princeofdarkness76/homebrew,sometimesfood/homebrew,elyscape/homebrew,mobileoverlord/homebrew-1,MartinDelille/homebrew,gawbul/homebrew,hongkongkiwi/homebrew,ybott/homebrew,teslamint/homebrew,bukzor/linuxbrew,mobileoverlord/homebrew-1,recruit-tech/homebrew,MoSal/homebrew,influxdata/homebrew,dutchcoders/homebrew,cosmo0920/homebrew,yumitsu/homebrew,sakra/homebrew,utzig/homebrew,hanxue/homebrew,keith/homebrew,BrewTestBot/homebrew,alebcay/homebrew,BrewTestBot/homebrew,iandennismiller/homebrew,ilovezfs/homebrew,dalanmiller/homebrew,getgauge/homebrew,tschoonj/homebrew,iostat/homebrew2,ExtremeMan/homebrew,slyphon/homebrew,liamstask/homebrew,mactkg/homebrew,Homebrew/homebrew,haihappen/homebrew,Homebrew/homebrew,scpeters/homebrew,retrography/homebrew,utzig/homebrew,knpwrs/homebrew,polishgeeks/homebrew,haihappen/homebrew,mactkg/homebrew,filcab/homebrew,dgageot/homebrew,hakamadare/homebrew,skinny-framework/homebrew,sjackman/linuxbrew,thinker0/homebrew,reelsense/homebrew,afh/homebrew,ilovezfs/homebrew,drewwells/homebrew,gicmo/homebrew,ralic/homebrew,dongcarl/homebrew,recruit-tech/homebrew,ilovezfs/homebrew,utzig/homebrew,SuperNEMO-DBD/cadfaelbrew,base10/homebrew,esamson/homebrew,theeternalsw0rd/homebrew,3van/homebrew,Angeldude/linuxbrew,ybott/homebrew,yumitsu/homebrew,mmizutani/homebrew,menivaitsi/homebrew,filcab/homebrew,muellermartin/homebrew,hakamadare/homebrew,recruit-tech/homebrew,feelpp/homebrew,afh/homebrew,ebouaziz/linuxbrew,base10/homebrew,bukzor/linuxbrew,gawbul/homebrew,ybott/homebrew,DoomHammer/linuxbrew,base10/homebrew,dunn/homebrew,slyphon/homebrew,BrewTestBot/homebrew,esamson/homebrew,teslamint/homebrew,OJFord/homebrew,quantumsteve/homebrew,josa42/homebrew,drewwells/homebrew,optikfluffel/homebrew,ablyler/homebrew,Linuxbrew/linuxbrew,reelsense/linuxbrew,cprecioso/homebrew,DoomHammer/linuxbrew,pcottle/homebrew,pcottle/homebrew,kodabb/homebrew,MoSal/homebrew,galaxy001/homebrew,knpwrs/homebrew,feelpp/homebrew,quantumsteve/homebrew,ebouaziz/linuxbrew,iostat/homebrew2,gnubila-france/linuxbrew,drbenmorgan/linuxbrew,totalvoidness/homebrew,dutchcoders/homebrew,teslamint/homebrew,menivaitsi/homebrew,elyscape/homebrew,apjanke/homebrew,influxdata/homebrew,influxdata/homebrew,LinusU/homebrew,skatsuta/homebrew,sjackman/linuxbrew,Red54/homebrew,Chilledheart/homebrew,iostat/homebrew2,knpwrs/homebrew,kenips/homebrew,chadcatlett/homebrew,ento/homebrew,menivaitsi/homebrew,ExtremeMan/homebrew,apjanke/homebrew,ryanfb/homebrew,reelsense/homebrew,gnubila-france/linuxbrew,Chilledheart/homebrew,mmizutani/homebrew,adamliter/homebrew,emcrisostomo/homebrew,base10/homebrew,Red54/homebrew,ear/homebrew,treyharris/homebrew,dutchcoders/homebrew,elgertam/homebrew,gicmo/homebrew,Homebrew/linuxbrew,decors/homebrew,sferik/homebrew,kevinastone/homebrew,totalvoidness/homebrew,decors/homebrew,Angeldude/linuxbrew,tutumcloud/homebrew,feelpp/homebrew,hanxue/homebrew,princeofdarkness76/homebrew,adamliter/homebrew,osimola/homebrew,johanhammar/homebrew,mactkg/homebrew,treyharris/homebrew,danieroux/homebrew,reelsense/homebrew,galaxy001/homebrew,recruit-tech/homebrew,TaylorMonacelli/homebrew,mobileoverlord/homebrew-1,hongkongkiwi/homebrew,jsjohnst/homebrew,ryanfb/homebrew,dutchcoders/homebrew,dongcarl/homebrew,brunchboy/homebrew,mactkg/homebrew,deorth/homebrew,Homebrew/linuxbrew,dericed/homebrew,nandub/homebrew,feelpp/homebrew,MoSal/homebrew,iandennismiller/homebrew,polishgeeks/homebrew,SuperNEMO-DBD/cadfaelbrew,3van/homebrew,pcottle/homebrew,vigo/homebrew,mmizutani/homebrew,frodeaa/homebrew,alebcay/homebrew,MartinDelille/homebrew,keith/homebrew,tschoonj/homebrew,TaylorMonacelli/homebrew,utzig/homebrew,jarrettmeyer/homebrew,johanhammar/homebrew,eighthave/homebrew,miketheman/homebrew,AlexejK/homebrew,hanxue/homebrew,redpen-cc/homebrew,osimola/homebrew,deorth/homebrew,DoomHammer/linuxbrew,ento/homebrew,cscetbon/homebrew,esamson/homebrew,haihappen/homebrew,dalanmiller/homebrew,marcwebbie/homebrew,SuperNEMO-DBD/cadfaelbrew,elgertam/homebrew,ybott/homebrew,jsjohnst/homebrew,retrography/homebrew,frodeaa/homebrew,mkrapp/homebrew,AlexejK/homebrew,bigbes/homebrew,zchee/homebrew,drbenmorgan/linuxbrew,danieroux/homebrew,sakra/homebrew,youtux/homebrew,jarrettmeyer/homebrew,dickeyxxx/homebrew,dunn/homebrew,reelsense/linuxbrew,LinusU/homebrew,hongkongkiwi/homebrew,reelsense/linuxbrew,muellermartin/homebrew,sjackman/linuxbrew,adamliter/homebrew,lrascao/homebrew,miketheman/homebrew,jamer/homebrew,dickeyxxx/homebrew,hanxue/homebrew,reelsense/linuxbrew,filcab/homebrew,ebouaziz/linuxbrew,johanhammar/homebrew,esamson/homebrew,liamstask/homebrew,eighthave/homebrew,dongcarl/homebrew,vigo/homebrew,bigbes/homebrew