Fix UBI8 1.19 build issues
What does this MR do and why?
Fixes the ubi8 golang 1.19 building for the pks-gitaly-ubi-golang-1.19
branch
Checklist
-
(If applicable) Add patches if required for upgrading Ruby version in https://gitlab.com/gitlab-org/gitlab-build-images/-/tree/master/patches/ruby.
Edited by DJ Mountney