Ninja: Ensure shared library version symlinks are created for dependents
When linking to a shared library target that has version symlinks, add an order-only dependency on the build statement that creates the links. This ensures that the links exist for use at runtime.
Fixes: #19774 (closed)