clc: Adjust for clang res_path change since LLVM 17

Frantisek Zatloukal requested to merge fzatlouk/mesa:clc_llvm_17 into main

What does this MR do and why?

clc: Adjust for clang res_path change since LLVM 17

Clang started to use /usr/lib as a resource dir on 64 bit systems and intel_clc invocation doesn't count with that and fails to find opencl-c.h unless the path to the resources is amended properly.

The mesa build itself against the LLVM 17 still fails on unrelated issues to the resource dir.

Fixes #9778 (closed)

Signed-off-by: František Zatloukal fzatlouk@redhat.com

Merge request reports