Swift: support `INSTALL_NAME_DIR` on Darwin
Adjust the shared object rule to ensure that we honour the
INSTALL_NAME_DIR
property on Swift targets. This enables the use of
INSTALL_NAME_DIR
and BUILD_WITH_INSTALL_NAME_DIR
on Darwin with
Ninja.
Backport: release
Topic-rename: swift-darwin-install-name
Edited by Brad King