chg: ci: Use GIT_DEPTH for hazard job
While the mentioned merge request to libgit2 has been released in libgit2 1.8.0 and subsequently integrated into pygit2 1.15.0, practice has shown that relying on the depth option in fetch function in libgit2 doesn't work reliably. Keep using the GIT_DEPTH instead, which ensures sufficient repository depth upon cloning it for the gitlab job.
Related hazard!14 (merged)
Edited by Nicki Křížek