Use the pkg-config file to determine our LDFLAGS

Instead of adding them in two places, let's use libgit2's pc file to
know what we should link against.

---

This is a bit of a meta-PR, to show what we can do if we merge the deps PR in libgit2.