Add the swift-corelibs-foundation side of https://github.com/swiftlang/swift-foundation/issues/1216