*/*: fix INSTALL_LIB static library invocations
INSTALL_LIB must not be used to install static libraries as
it strips the installed library; static libraries are useless
when stripped.
PR: 283258
Approved by: portmgr (infrastructure blanket)
MFH: 2024Q4
(cherry picked from commit dd628b45902c959f5de7aabd8b986923a7547508)