PERF: Improve efficiency of `BlockValuesRefs._clear_dead_references(...)`
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Improves efficiency of `BlockValuesRefs._clear_dead_references(...)` by allowing for more efficient C code-gen as a function lookup and FastCall is eliminated from a tight loop.

## Before
![image](https://github.com/user-attachments/assets/558a9123-a2ae-467e-a1ed-e9e3c3057b07)
## After
![image](https://github.com/user-attachments/assets/cf622bbc-73c0-4c08-ba02-a89a7c1ea72e)

Thanks @Tolker-KU 