[SDK] Fix thread safety of KVO swizzling
[SDK] Fix thread safety of KVO swizzling

Swizzling the methods in a different order ensures we don't overwrite
the public `NSObject` method until it's safe to call our replacement.

rdar://problem/36663633 https://bugs.swift.org/browse/SR-6795

apple/swift,sschiau/swift,devincoughlin/swift,amraboelela/swift,shajrawi/swift,CodaFi/swift,practicalswift/swift,shahmishal/swift,glessard/swift,amraboelela/swift,amraboelela/swift,practicalswift/swift,shahmishal/swift,gregomni/swift,aschwaighofer/swift,gribozavr/swift,parkera/swift,amraboelela/swift,JGiola/swift,lorentey/swift,ahoppen/swift,harlanhaskins/swift,tkremenek/swift,gregomni/swift,practicalswift/swift,aschwaighofer/swift,nathawes/swift,atrick/swift,jmgc/swift,CodaFi/swift,allevato/swift,shajrawi/swift,CodaFi/swift,xedin/swift,sschiau/swift,CodaFi/swift,gregomni/swift,harlanhaskins/swift,airspeedswift/swift,ahoppen/swift,practicalswift/swift,practicalswift/swift,atrick/swift,hooman/swift,jmgc/swift,jckarter/swift,devincoughlin/swift,jckarter/swift,nathawes/swift,sschiau/swift,xwu/swift,parkera/swift,airspeedswift/swift,glessard/swift,lorentey/swift,xwu/swift,xwu/swift,JGiola/swift,parkera/swift,apple/swift,allevato/swift,apple/swift,practicalswift/swift,shajrawi/swift,harlanhaskins/swift,atrick/swift,shahmishal/swift,shajrawi/swift,glessard/swift,atrick/swift,roambotics/swift,benlangmuir/swift,xedin/swift,aschwaighofer/swift,nathawes/swift,roambotics/swift,gribozavr/swift,xedin/swift,devincoughlin/swift,allevato/swift,karwa/swift,airspeedswift/swift,benlangmuir/swift,JGiola/swift,ahoppen/swift,xwu/swift,harlanhaskins/swift,hooman/swift,sschiau/swift,shahmishal/swift,xedin/swift,devincoughlin/swift,nathawes/swift,practicalswift/swift,nathawes/swift,stephentyrone/swift,aschwaighofer/swift,airspeedswift/swift,harlanhaskins/swift,gregomni/swift,lorentey/swift,allevato/swift,stephentyrone/swift,hooman/swift,apple/swift,lorentey/swift,devincoughlin/swift,roambotics/swift,practicalswift/swift,jckarter/swift,devincoughlin/swift,harlanhaskins/swift,sschiau/swift,aschwaighofer/swift,allevato/swift,parkera/swift,xwu/swift,jckarter/swift,stephentyrone/swift,CodaFi/swift,sschiau/swift,karwa/swift,glessard/swift,rudkx/swift,roambotics/swift,hooman/swift,tkremenek/swift,CodaFi/swift,jmgc/swift,nathawes/swift,gribozavr/swift,karwa/swift,harlanhaskins/swift,shahmishal/swift,jckarter/swift,shajrawi/swift,lorentey/swift,gregomni/swift,sschiau/swift,tkremenek/swift,shajrawi/swift,gribozavr/swift,hooman/swift,shahmishal/swift,rudkx/swift,devincoughlin/swift,gribozavr/swift,parkera/swift,benlangmuir/swift,rudkx/swift,airspeedswift/swift,karwa/swift,xedin/swift,jckarter/swift,jmgc/swift,nathawes/swift,jmgc/swift,atrick/swift,benlangmuir/swift,ahoppen/swift,karwa/swift,airspeedswift/swift,gribozavr/swift,ahoppen/swift,karwa/swift,xwu/swift,lorentey/swift,shajrawi/swift,stephentyrone/swift,aschwaighofer/swift,hooman/swift,aschwaighofer/swift,shahmishal/swift,jmgc/swift,JGiola/swift,xwu/swift,benlangmuir/swift,lorentey/swift,JGiola/swift,apple/swift,ahoppen/swift,devincoughlin/swift,roambotics/swift,JGiola/swift,allevato/swift,rudkx/swift,lorentey/swift,amraboelela/swift,stephentyrone/swift,hooman/swift,amraboelela/swift,rudkx/swift,xedin/swift,apple/swift,sschiau/swift,CodaFi/swift,tkremenek/swift,karwa/swift,parkera/swift,jmgc/swift,shahmishal/swift,glessard/swift,xedin/swift,rudkx/swift,roambotics/swift,shajrawi/swift,glessard/swift,benlangmuir/swift,gribozavr/swift,jckarter/swift,allevato/swift,parkera/swift,parkera/swift,karwa/swift,tkremenek/swift,xedin/swift,tkremenek/swift,airspeedswift/swift,stephentyrone/swift,stephentyrone/swift,amraboelela/swift,atrick/swift,tkremenek/swift,gregomni/swift,gribozavr/swift