gitserver: Use pointer receiver for gitdomain errors
Created by: ryanslade
Closes https://github.com/sourcegraph/sourcegraph/issues/33099
Supersedes https://github.com/sourcegraph/sourcegraph/pull/33430
Thanks @DaivikDave for doing this initially, just pushing it over the line.
Test plan
All tests still pass