Backported minor fixes to toolchain detection

- Fixed clang version matching
- Removed obsolete CMAKE_SYSTEM_PROCESSOR definition as
  this is an optional variable anyway.