lib: internal: versionparse: refactoring: new function 'fillCommon'