After r297760, __isOSVersionAtLeast in compiler-rt loads the CoreFoundation symbols at runtime. This means that @available will always fail when used in a binary without a linked CoreFoundation.
This patch forces Clang to emit a reference to a CoreFoundation symbol when @available is used to ensure that linking will fail when CoreFoundation isn't linked with the build product.
Reverse these checks, please; IsOSVersionAtLeastFn is much cheaper to check and will predominantly be null.