Build crash fix: AnyObject -> NSDictionary
Build crash fix: AnyObject -> NSDictionary

As seen in swift crashers while building https://github.com/apple/swift/pull/20103
apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation