Fix an incorrect use of ScopedContentionRecorder in ReaderWriterMutex.

The TID the blocked (current) thread and the TID of the mutex's
exclusive owner thread should be respectively passed as second
and third arguments to ScopedContentionRecorder's constructor.

Test: art/test.py
Change-Id: Ica37dfb1c15e25cd48fa46f499192de58e8a7e0e
1 file changed