Build issue by way of third party benchmark from head
CC @fcoUnda @mihaimaruseac @learning-to-play  This issue might be related: https://github.com/google/benchmark/issues/1543
<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Build/Install

### Have you reproduced the bug with TF nightly?

No

### Source

source

### Tensorflow Version

Head

### Custom Code

No

### OS Platform and Distribution

Linux, Ubuntu 20.04

### 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 Behaviour?

The OSS-Fuzz build started failing a few days ago: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56922

The bazel log shows:
```shell
Step #3 - "compile-libfuzzer-address-x86_64": ERROR: /src/tensorflow/tensorflow/tsl/platform/BUILD:335:11: no such package '@libpfm//': The repository '@libpfm' could not be resolved: Repository '@libpfm' is not defined and referenced by '//tensorflow/tsl/platform:test_benchmark'
```

If I revert commit https://github.com/tensorflow/tensorflow/commit/03b51b52df3a09c39585ac3fe0227606f414651e the build works well again.

### Standalone code to reproduce the issue

```shell
Build by way of OSS-Fuzz [build script](https://github.com/google/oss-fuzz/blob/master/projects/tensorflow/build.sh):


git clone https://github.com/google/oss-fuzz
cd oss-fuzz
python3 infra/helper.py build_fuzzers tensorflow
```
```


### Relevant log output

_No response_</details>