[Build][CMAKE] Split compiling Gettext's I18N catalogue definition to function.