TCHECK-28: Call vec on input to gen/elements to support more collections

This means collections that don't support nth can still be used with
gen/elements, and also that generation is constant-time.
Bump fork version after cherry-picking TCHECK-28