component/libgit2: apply patch for fix index has_dir_name check

patch for arbitrary code execution due to heap corruption in `git_index_add`

see: https://github.com/libgit2/libgit2/security/advisories/GHSA-j2v7-4f6v-gpg8
https://security-tracker.debian.org/tracker/CVE-2024-24577
16 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed Cloudooo.UnitTest-Master

00:12:49

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:32:54

failed ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:02:30

failed ERP5.UnitTest-Zope4Py3-Py2

03:40:14

failed SlapOS.Eggs.UnitTest-Master.Python2

00:21:15

failed SlapOS.Eggs.UnitTest-Master.Python3

00:22:34

passed SlapOS.SoftwareReleases.IntegrationTest-Master

11:23:28

passed SlapOS.Theia.ResilienceTest-Master-ERP5

09:01:24

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

14:21:44

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

11:04:07

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:36:43

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:45:09

failed ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:02:32

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:46:05

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:57:58

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

08:50:11