cad/horizon-eda: Prepare for libgit2 1.8.2
Upstream patch to fix build with upcoming libgit2 1.8.2.
PR: 282239