git: fix gitweb.cgi runtime dependency on gzip

gitweb.cgi uses gzip for creating "snapshots". Without this patch it
doesn't work.
Merge pull request #472 from bjornfor/git

git: fix gitweb.cgi runtime dependency on gzip