[test] Add explicit targets to tests depending on the default
Add specific deployment target versions to some tests that need to test
10.x-specific behaviours and are currently depending on the default
deployment target.
Certain tests were only checking either the stable or unstable ABI
depending on the platform the test was running. In those cases I doubled
up the checks so that we would test both cases on platforms that
supported it. This might use a bit of extra time on targets that only
support the stable ABI, but it seemed worth it for the additional
coverage in CI.
(cherry picked from commit 7d11d43d6dde8cd7942d6e5472d74bb634cf51c9)
Conflicts:
test/Concurrency/sendable_checking.swift
(cherry picked from commit 174534041ffdd7abb3d84f8f480af57cc72c6fae)