[Sema] Add logic to diagnose regex feature availability
GlobalActorInferenceCutoff
-swift-compiler-version