Update defs for libgit2 0.18

These are automatically generated definitions, with many
inaccuracies.