update/init the libgit2 submodule before building in extconf

This change enables installing rugged directly from git via bundle.