.gitlab-ci.yml: Add `brew update` step for macos job
Homebrew needs to be updated in the job. Otherwise it may not have all the formulae needed.
otherwise we get failures like https://gitlab.com/gitlab-org/gitaly/-/jobs/6184488677
Edited by John Cai