Improvements to ReaderWriterLockSlim on platforms it is not supported by default