[AST] Change TypeBase::getOptionalityDepth() implementation to not use a vector
[AST] Change TypeBase::getOptionalityDepth() implementation to not use a vector

apple/swift,roambotics/swift,roambotics/swift,roambotics/swift,apple/swift,apple/swift,roambotics/swift,apple/swift,roambotics/swift,roambotics/swift,apple/swift,apple/swift