windows: do not log while holding the orphan list lock

reap_orphaned_requests() logged while holding orphaned_requests_lock.
The static mutex is a spinlock, so a contending thread spins for the
duration of the logging I/O. Count freed requests inside the critical
section and log once after releasing the lock.
1 file changed