tcp: Fix data-races around sysctl_tcp_syncookies.