tsan: fix freebsd build
freebsd does not have /proc/self/environ