tsan: fix cross build for FreeBSD by using direct syscalls instead of libsys

This patch can hopefully be dropped in the future; see #24989.

closes #24885
closes #24896

Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
fe783d9ff3Rajiv Singh committed on 10/26/2025, 10:12:22 AM· committed by Alex Rønne Petersenparent67c9d57
2 files changedLine totals unavailable