CPack/STGZ: Avoid replacing directory symlinks if possible

When installing into a prefix with existing directory symlinks, tell
`tar` not to replace them with real directories from the package.

Fixes: #21119
1 file changed