test: Fix the dependencies for the check-llvm-* targets