Windows: Move grmutex, etc. to afspthread.dll