Reflection Library crash inspecting certain BoundGeneric types (#32983)
Reflection Library crash inspecting certain BoundGeneric types (#32983)

* Reflectio Library crash inspecting certain BoundGeneric types

If the parent of a BoundGeneric type is not a NominalType (for example, if the
Parent was an ObjCClass type) the `getDepth()` method would end up reading a
Parent reference from uninitialized memory.  The resulting garbage pointer
would cause a crash in the tool that was using the reflection library
(leaks, instruments, etc.)

Of course, this does not always result in a crash, since the memory in question
is frequently zeroed, resulting in a nil pointer that is safely detected.

Resolves rdar://54173375

* Fix compile
ahoppen/swift,JGiola/swift,jmgc/swift,gregomni/swift,rudkx/swift,hooman/swift,hooman/swift,JGiola/swift,rudkx/swift,tkremenek/swift,JGiola/swift,CodaFi/swift,benlangmuir/swift,tkremenek/swift,airspeedswift/swift,ahoppen/swift,ahoppen/swift,nathawes/swift,allevato/swift,CodaFi/swift,atrick/swift,jckarter/swift,tkremenek/swift,atrick/swift,hooman/swift,jckarter/swift,CodaFi/swift,apple/swift,allevato/swift,JGiola/swift,atrick/swift,jmgc/swift,nathawes/swift,xwu/swift,benlangmuir/swift,apple/swift,roambotics/swift,gregomni/swift,nathawes/swift,xwu/swift,xwu/swift,jckarter/swift,parkera/swift,glessard/swift,tkremenek/swift,airspeedswift/swift,rudkx/swift,allevato/swift,rudkx/swift,jmgc/swift,gregomni/swift,airspeedswift/swift,parkera/swift,apple/swift,glessard/swift,CodaFi/swift,nathawes/swift,xwu/swift,glessard/swift,parkera/swift,glessard/swift,airspeedswift/swift,ahoppen/swift,parkera/swift,jckarter/swift,rudkx/swift,benlangmuir/swift,gregomni/swift,airspeedswift/swift,ahoppen/swift,nathawes/swift,tkremenek/swift,ahoppen/swift,xwu/swift,apple/swift,apple/swift,parkera/swift,roambotics/swift,atrick/swift,glessard/swift,xwu/swift,allevato/swift,jckarter/swift,benlangmuir/swift,nathawes/swift,JGiola/swift,parkera/swift,allevato/swift,roambotics/swift,glessard/swift,roambotics/swift,roambotics/swift,allevato/swift,allevato/swift,atrick/swift,gregomni/swift,tkremenek/swift,JGiola/swift,rudkx/swift,CodaFi/swift,hooman/swift,apple/swift,parkera/swift,nathawes/swift,jmgc/swift,parkera/swift,hooman/swift,hooman/swift,jckarter/swift,jmgc/swift,atrick/swift,jckarter/swift,jmgc/swift,xwu/swift,gregomni/swift,benlangmuir/swift,CodaFi/swift,roambotics/swift,benlangmuir/swift,airspeedswift/swift,tkremenek/swift,CodaFi/swift,jmgc/swift,airspeedswift/swift,hooman/swift