path: fix invalid access
Include git2/odb_backend.h in git2.h

Since this isn't under sys/ we need to have it included in the main
git2.h file.

This fixes #2551.