Fix MINGW SRWLock typedefs