SERVER-8795 Lock mongo files in remapPrivateView on Solaris

Prevent other threads from touching the memory of a memory-mapped file
while the file's private view is reset in remapPrivateView() on Solaris.