CPackIFW: Fix parsing of name and version in component DEPENDS
I included a separate commit to fix a trivial cppcheck warning in nearby code, since I was working on that block anyway.
Topic-rename: ifw-depends-name-version-parsing
Edited by Craig Scott