tsan: remove usage of libcrypt and libncurses headers

https://github.com/llvm/llvm-project/pull/153351

Closes #24736.
e37fc57495Alex Rønne Petersen committed on 8/13/2025, 6:40:35 AMparente25168d
2 files changedLine totals unavailable