THRIFT-2091 Unnecessary 'friend' declaration causes warning in TWinsockSingleton

Patch: Konrad Grochowski