feat: lake: `getLeanSharedDynlibs` (#14219)

This PR adds API for retrieving the complete set of core dynamic
libraries. In current terms, these are `libleanshared`,
`libleanshared_1`, and `libleanshared_2`. and `libInit_shared`. These
libraries have different interdependencies on Windows and Unix, so they
are modelled with `Dynlib` in order to track this information.
2 files changed