ISPN-3641 ThreadLocalLeakTest.testCheckThreadLocalLeaks fails with Azul ...

...JDK

https://issues.jboss.org/browse/ISPN-3641

Use the public Reference.get() method instead of accessing the referent
field directly.