devel/libgit2: fix build problem with openssl3 and libressl
Make cmake aware of the selected ssl lib PR: 273609