LLVM conflict with libosmesa6
### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

binary

### TensorFlow version

2.13.0

### Custom code

Yes

### OS platform and distribution

Debian Bullseye 11.7

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

Tensorflow 2.13.0 binary causes some conflict with libOSMesa which uses LLVM-11. Tensorflow 2.7.1 didn't have this problem.

libosmesa6 (20.3.5-1) is installed through apt-get
https://packages.debian.org/bullseye/libosmesa6

![image](https://github.com/tensorflow/tensorflow/assets/4276548/d7a109e1-f545-4692-a9e9-3088dbb1ed87)





### Standalone code to reproduce the issue

```shell
#include <stdio.h>
#include <tensorflow/c/c_api.h>

#include <dlfcn.h>

int main() {
  printf("Hello from TensorFlow C library version %s\n", TF_Version());

  dlopen("libOSMesa.so.6", RTLD_NOW);

  return 0;
}
```


### Relevant log output

```shell
gcc hello_tf.c -ltensorflow -ldl -o hello_tf

./hello_tf
2023-08-25 13:50:27.935004: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
Hello from TensorFlow C library version 2.13.0
: CommandLine Error: Option 'debug-counter' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted
```
