source_group: Fix TREE issue when root isn't current source dir
- Fixed issue when root path isn't current CMakeLists source dir
- Added check if root path is actual file path prefix - if no, raise an error
- Minor performance improve - get full files paths and collapse them once, at the beginning
Topic-rename: source_group-TREE-alt-root
Fixes: #16807 (closed)