cmcmd: Fix cmake_symlink_library for inconsistent slashes
With the Ninja generator we may invoke cmake_symlink_library
with
different slash conventions (/
versus \
) for different arguments.
Fix comparison of the paths/names given to tolerate this.
Fixes: #17579 (closed)