winemac: Add proper locking in macdrv_surface_set_region().