[ci][framework] Don't unconditionally force clang-18 for UNIX platforms in CMakeLists.txt
- Related issues: #1591
- Requested reviewers: @kiene, @haeussler
Reason why this change is needed
- See #1591
Description of the change
- Added a guard around the compiler setting
Affected operating points
- CMake Build
Related to #1591