[IRGen] correct the order of demangling compat checks
[IRGen] correct the order of demangling compat checks

In general, we need to check the features of a type in order
of newest to oldest, when determining the runtime version
that supports demangling that type.

apple/swift,roambotics/swift,apple/swift,roambotics/swift,xwu/swift,roambotics/swift,apple/swift,JGiola/swift,gregomni/swift,benlangmuir/swift,benlangmuir/swift,glessard/swift,gregomni/swift,apple/swift,atrick/swift,atrick/swift,gregomni/swift,JGiola/swift,atrick/swift,atrick/swift,glessard/swift,rudkx/swift,gregomni/swift,xwu/swift,ahoppen/swift,glessard/swift,roambotics/swift,benlangmuir/swift,roambotics/swift,rudkx/swift,rudkx/swift,gregomni/swift,atrick/swift,JGiola/swift,apple/swift,xwu/swift,rudkx/swift,gregomni/swift,rudkx/swift,roambotics/swift,ahoppen/swift,benlangmuir/swift,benlangmuir/swift,atrick/swift,JGiola/swift,glessard/swift,xwu/swift,JGiola/swift,glessard/swift,xwu/swift,ahoppen/swift,xwu/swift,rudkx/swift,benlangmuir/swift,glessard/swift,apple/swift,JGiola/swift,xwu/swift,ahoppen/swift,ahoppen/swift,ahoppen/swift