UseSWIG: Account for per-config subdir of multi-config generators

Fixes: #17875
2 jobs for UseSWIG-multi-config
Status Name Job ID Coverage
  External
passed ghostflow-branch-check-master

passed ghostflow-commit-check