Fix a problem where an SBType was advertising its static type class even though a dynamic type was available. Solves rdar://18744420

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220511 91177308-0d34-0410-b5e6-96231b3b80d8