extconf.rb: Allow using the system provided libgit2.
Merge pull request #387 from libgit2/arthur/system-libgit2

Allow using the system provided libgit2.