CMake: simplify build rules for compiler-rt unit tests. This fixes warnings in Ninja build tree.