sg checks runner: fix data race
Created by: mrnugget
Follow-up to #38878 - I didn't see that the categories themselves were also executed concurrently.
Example failure here: https://buildkite.com/sourcegraph/sourcegraph/builds/161728#01821641-9c22-4e36-a8aa-419e7656521b
Test plan
- Existing tests