st/wgl: reimplement stw_framebuffer::mutex with CRITICAL_SECTION