updated addSwallowedTGComponent method in TMLCCompositeComponent in case that tgc is a primitive port