Include the swift compiler version in the set of exported variables from CheckSwift.cmake for Swift related tests.
This ensures that the tests only run when the Swift compiler is present.