Fix a llvm16 compilation error
With latest llvm16, I got the following build errors:
...
/.../bcc/build/src/cc/libbcc.so: undefined reference to
`llvm::hlsl::FrontendResource::FrontendResource(llvm::GlobalVariable*,
llvm::StringRef, llvm::hlsl::ResourceKind, unsigned int, unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [tests/cc/CMakeFiles/test_libbcc.dir/build.make:371: tests/cc/test_libbcc] Error 1
...
The reason is due to llvm upsteam patch https://reviews.llvm.org/
D135110
which added llvm library FrontendHLSL as a dependency to clang CodeGen library.
So we need to add it as well for non-shared library build mode.
Signed-off-by: Yonghong Song <yhs@fb.com>