file(CREATE_LINK): Implement COPY_ON_ERROR for directories

Add policy `CMP0205` for compatibility with projects not expecting this.

Fixes: #27294
20 files changed