pcap_compile() fix for Win32

Entangled this Italian spaghetti: ensure wsockinit() is called once to initialise the g_PcapCompileCriticalSection crit-sect. DllMain() used to do it, but not anymore since that wouldn't work when using libpcap as a static library.