Tests: Add swift compiler version to test check

Include the swift compiler version in the set of exported variables from
CheckSwift.cmake for Swift related tests.
1 file changed