[libc] fix lfind old hdrgen (#115760)

Fixes: #114692
GitOrigin-RevId: 582a4799e1fc8e46b5872fdd38369d097bce79f2
2 files changed