[System.Core] ReaderWriterLockSlim.cs now builds with mono.

* Adds support to build without Code Access Security, by using the
  define DISABLE_CAS_USE.

* Builds without [MethodImpl(MethodImplOptions.AggressiveInlining)]
  when target framework version is lower than 4.5.

* Use Thread.Volatile instead of Volatile.Read when target framework
  version is lower than 4.5.

Required by mono/mono#1436
It is working with the updated mcs. Thanks.
Also removed  DISABLE_CAS_USE from PR mono/mono#1436