cmake: Prevent semicolon separated lists in llvm-config (PR17020)