[SandboxVec][SeedCollector] Implement collection of seeds with different types (#146171)
Up until now the seed collector could only collect seeds with the same
element type. For example, `i32` and <2 x i32>`.
This patch implements the collection of seeds with different types, like
`i32` and `i8`.