OCL: fix module cleanup on Windows platform

Problem is: `cleanupContext()` uses mutex global objects, that were destroyed before `__module`