ISPN-3641 ThreadLocalLeakTest.testCheckThreadLocalLeaks fails with Azul JDK

Use the public Reference.get() method instead of accessing the referent
field directly.