ntdll: Call cache_inproc_sync() inside the lock. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58794