[test] Add swift-scan-test to test dependencies (#72280)
The swift-scan-test is exclusively used from the tests, but it was not
added to the `*-test-depends` targets, so trying to prepare the test
dependencies will not had build it, and test failures will happen.