[SILOptimizer] Switch hasArchetypes() to any_of(). NFCI.
[SILOptimizer] Switch hasArchetypes() to any_of(). NFCI.

This version is slightly shorter and improves readability.

brentdax/swift,stephentyrone/swift,uasys/swift,practicalswift/swift,amraboelela/swift,ahoppen/swift,shajrawi/swift,karwa/swift,practicalswift/swift,brentdax/swift,parkera/swift,jopamer/swift,roambotics/swift,ahoppen/swift,aschwaighofer/swift,sschiau/swift,zisko/swift,aschwaighofer/swift,lorentey/swift,natecook1000/swift,gribozavr/swift,tkremenek/swift,shajrawi/swift,alblue/swift,austinzheng/swift,huonw/swift,airspeedswift/swift,devincoughlin/swift,tjw/swift,shahmishal/swift,xedin/swift,hooman/swift,JGiola/swift,allevato/swift,hooman/swift,zisko/swift,swiftix/swift,devincoughlin/swift,glessard/swift,danielmartin/swift,brentdax/swift,shajrawi/swift,tkremenek/swift,ahoppen/swift,aschwaighofer/swift,lorentey/swift,frootloops/swift,nathawes/swift,atrick/swift,amraboelela/swift,huonw/swift,gregomni/swift,danielmartin/swift,tjw/swift,atrick/swift,benlangmuir/swift,gregomni/swift,jopamer/swift,allevato/swift,rudkx/swift,xwu/swift,hooman/swift,nathawes/swift,xwu/swift,devincoughlin/swift,parkera/swift,uasys/swift,lorentey/swift,CodaFi/swift,gribozavr/swift,stephentyrone/swift,airspeedswift/swift,rudkx/swift,jopamer/swift,danielmartin/swift,xwu/swift,austinzheng/swift,frootloops/swift,xedin/swift,jckarter/swift,karwa/swift,natecook1000/swift,xwu/swift,zisko/swift,harlanhaskins/swift,parkera/swift,allevato/swift,amraboelela/swift,xwu/swift,JGiola/swift,ahoppen/swift,rudkx/swift,CodaFi/swift,ahoppen/swift,airspeedswift/swift,jmgc/swift,allevato/swift,karwa/swift,gribozavr/swift,atrick/swift,xwu/swift,roambotics/swift,devincoughlin/swift,natecook1000/swift,jmgc/swift,CodaFi/swift,CodaFi/swift,airspeedswift/swift,shahmishal/swift,karwa/swift,OscarSwanros/swift,jckarter/swift,amraboelela/swift,lorentey/swift,alblue/swift,amraboelela/swift,atrick/swift,nathawes/swift,alblue/swift,stephentyrone/swift,gregomni/swift,nathawes/swift,jckarter/swift,tkremenek/swift,hooman/swift,frootloops/swift,gribozavr/swift,JGiola/swift,tjw/swift,jopamer/swift,karwa/swift,nathawes/swift,lorentey/swift,tkremenek/swift,hooman/swift,atrick/swift,jmgc/swift,xedin/swift,swiftix/swift,zisko/swift,gregomni/swift,jckarter/swift,natecook1000/swift,devincoughlin/swift,uasys/swift,uasys/swift,shajrawi/swift,harlanhaskins/swift,hooman/swift,gribozavr/swift,shahmishal/swift,devincoughlin/swift,tkremenek/swift,xedin/swift,alblue/swift,shajrawi/swift,lorentey/swift,apple/swift,huonw/swift,parkera/swift,austinzheng/swift,tkremenek/swift,austinzheng/swift,JGiola/swift,gregomni/swift,jopamer/swift,karwa/swift,JGiola/swift,karwa/swift,apple/swift,amraboelela/swift,jmgc/swift,sschiau/swift,xedin/swift,aschwaighofer/swift,brentdax/swift,practicalswift/swift,aschwaighofer/swift,huonw/swift,glessard/swift,austinzheng/swift,alblue/swift,tkremenek/swift,glessard/swift,danielmartin/swift,tjw/swift,sschiau/swift,sschiau/swift,huonw/swift,uasys/swift,huonw/swift,frootloops/swift,danielmartin/swift,apple/swift,shajrawi/swift,gribozavr/swift,OscarSwanros/swift,jckarter/swift,austinzheng/swift,tjw/swift,harlanhaskins/swift,jmgc/swift,sschiau/swift,stephentyrone/swift,harlanhaskins/swift,nathawes/swift,devincoughlin/swift,brentdax/swift,natecook1000/swift,glessard/swift,benlangmuir/swift,swiftix/swift,parkera/swift,natecook1000/swift,stephentyrone/swift,roambotics/swift,shahmishal/swift,OscarSwanros/swift,aschwaighofer/swift,parkera/swift,aschwaighofer/swift,benlangmuir/swift,jmgc/swift,frootloops/swift,huonw/swift,practicalswift/swift,jopamer/swift,nathawes/swift,apple/swift,xedin/swift,brentdax/swift,benlangmuir/swift,roambotics/swift,jopamer/swift,zisko/swift,allevato/swift,atrick/swift,sschiau/swift,xedin/swift,apple/swift,sschiau/swift,OscarSwanros/swift,gregomni/swift,shajrawi/swift,harlanhaskins/swift,benlangmuir/swift,shahmishal/swift,parkera/swift,roambotics/swift,swiftix/swift,practicalswift/swift,brentdax/swift,frootloops/swift,rudkx/swift,austinzheng/swift,uasys/swift,parkera/swift,alblue/swift,stephentyrone/swift,frootloops/swift,airspeedswift/swift,shahmishal/swift,jckarter/swift,airspeedswift/swift,rudkx/swift,CodaFi/swift,JGiola/swift,gribozavr/swift,natecook1000/swift,apple/swift,alblue/swift,sschiau/swift,lorentey/swift,ahoppen/swift,allevato/swift,karwa/swift,shahmishal/swift,airspeedswift/swift,roambotics/swift,zisko/swift,hooman/swift,OscarSwanros/swift,shajrawi/swift,OscarSwanros/swift,allevato/swift,glessard/swift,swiftix/swift,CodaFi/swift,harlanhaskins/swift,rudkx/swift,amraboelela/swift,harlanhaskins/swift,zisko/swift,glessard/swift,tjw/swift,benlangmuir/swift,practicalswift/swift,OscarSwanros/swift,danielmartin/swift,CodaFi/swift,xwu/swift,gribozavr/swift,jckarter/swift,swiftix/swift,tjw/swift,lorentey/swift,practicalswift/swift,jmgc/swift,danielmartin/swift,shahmishal/swift,uasys/swift,swiftix/swift,xedin/swift,stephentyrone/swift,devincoughlin/swift,practicalswift/swift