Use global `jobject`s in `MonitorTest`.

Using `Handle<>` across multiple threads in inherently racy
as seen in a recent crash in automated testing.

Test: m test-art-host-gtest
Bug: 267366638
Change-Id: Ibcc8581481cc9878900d1c064788559bf0b1b1c7
1 file changed