codeintel: Add indexer version to upload records
Created by: efritz
Fixes #31487 (closed). Related: sourcegraph/src-cli#710.
Test plan
Integration tests: main-dry-run
Created by: efritz
Fixes #31487 (closed). Related: sourcegraph/src-cli#710.
Integration tests: main-dry-run