devel/gitlab-shell: fix build errors due to checksum failure
The port will execute go mod download to download go modules.
This command modifies the go.mod file which causes the checksum check to fail.
Backup the go.mod and restore it afterwards.
PR: 278520
(cherry picked from commit 30ee39816e4e27529f1f2421820962b961c5fc0e)