Apollo: Fix getHeaders duplication
Created by: umpox
The bug was fixed: https://github.com/apollographql/apollo-client/issues/8447 and since then we've upgraded Apollo. We just haven't got around to removing this unnecessary code :)
Closes https://github.com/sourcegraph/sourcegraph/issues/22516