[IR2Vec] Changes to support programmatic creation of Vocabulary (#177348)
These changes would help create `ir2vec::Vocabulary` in Python bindings
(or any other *tool*) without having to run `IR2VecVocabAnalysis` which
reads the Vocab path via command line.