[build] set linker parameters in a single way (for stdlib) (#30596)
[build] set linker parameters in a single way (for stdlib) (#30596)

Match the same fix as #30339 for `AddSwiftStdlib.cmake`.

Addresses rdar://problem/60791444
rudkx/swift,gregomni/swift,ahoppen/swift,aschwaighofer/swift,nathawes/swift,stephentyrone/swift,nathawes/swift,allevato/swift,xwu/swift,nathawes/swift,rudkx/swift,CodaFi/swift,nathawes/swift,tkremenek/swift,stephentyrone/swift,parkera/swift,atrick/swift,airspeedswift/swift,glessard/swift,rudkx/swift,rudkx/swift,harlanhaskins/swift,atrick/swift,glessard/swift,apple/swift,ahoppen/swift,tkremenek/swift,parkera/swift,CodaFi/swift,glessard/swift,jckarter/swift,JGiola/swift,hooman/swift,CodaFi/swift,airspeedswift/swift,jmgc/swift,atrick/swift,jckarter/swift,roambotics/swift,parkera/swift,tkremenek/swift,parkera/swift,gregomni/swift,aschwaighofer/swift,harlanhaskins/swift,allevato/swift,stephentyrone/swift,JGiola/swift,airspeedswift/swift,gregomni/swift,jmgc/swift,nathawes/swift,CodaFi/swift,harlanhaskins/swift,apple/swift,jckarter/swift,apple/swift,rudkx/swift,airspeedswift/swift,tkremenek/swift,jmgc/swift,nathawes/swift,apple/swift,harlanhaskins/swift,roambotics/swift,glessard/swift,allevato/swift,stephentyrone/swift,airspeedswift/swift,tkremenek/swift,glessard/swift,aschwaighofer/swift,allevato/swift,parkera/swift,gregomni/swift,xwu/swift,xwu/swift,benlangmuir/swift,hooman/swift,harlanhaskins/swift,benlangmuir/swift,CodaFi/swift,atrick/swift,aschwaighofer/swift,hooman/swift,rudkx/swift,glessard/swift,jckarter/swift,apple/swift,hooman/swift,xwu/swift,jmgc/swift,jckarter/swift,atrick/swift,parkera/swift,benlangmuir/swift,ahoppen/swift,stephentyrone/swift,benlangmuir/swift,tkremenek/swift,roambotics/swift,JGiola/swift,aschwaighofer/swift,xwu/swift,aschwaighofer/swift,aschwaighofer/swift,allevato/swift,allevato/swift,tkremenek/swift,atrick/swift,stephentyrone/swift,JGiola/swift,jmgc/swift,harlanhaskins/swift,airspeedswift/swift,airspeedswift/swift,benlangmuir/swift,ahoppen/swift,roambotics/swift,parkera/swift,jckarter/swift,ahoppen/swift,harlanhaskins/swift,CodaFi/swift,hooman/swift,gregomni/swift,roambotics/swift,allevato/swift,gregomni/swift,hooman/swift,ahoppen/swift,roambotics/swift,benlangmuir/swift,JGiola/swift,jckarter/swift,CodaFi/swift,apple/swift,parkera/swift,xwu/swift,stephentyrone/swift,jmgc/swift,jmgc/swift,JGiola/swift,xwu/swift,hooman/swift,nathawes/swift