devel/libgit2-glib: Fix build with devel/libgit2 1.8.1
PR: 280684 Approved by: maintainer timeout, >2 months