[tsan] use our own GetEnv instead of libc's getenv