[MIR2Vec][NewPM] Port vocabulary analysis and printer (#243400)
Add `MIR2VecVocabAnalysis` and `print<mir2vec>` for the new pass manager
The analysis builds the vocabulary from the machine function it runs on,
because `MachineModuleInfo` does not hold the functions that
`MachineFunctionAnalysis` creates