Use syscall.Stat_t only on non-Windows.