Optionally disable building against the system zlib even if it is available.

When building a static libgit2 one may not want to link against dynamic
system libraries that may not be available on machines other than the
build machine.