codeintel: Upsert dependency repos
Created by: tsenart
Make this a single query rather than two, given we don't need to avoid running out of id space due to bigint
.
Ref https://github.com/sourcegraph/sourcegraph/pull/31722/files#r813954264
Test plan
Integration test.