all: Update mockgen to support generics
Created by: efritz
#34899 updates us to use go 1.18. Before we start shoving generics in our codebase, or mock tooling should support it too.
Test plan
Existing unit tests utilizing generate mocks + go generate CI checks.