[5.x] ISPN-3982 TransactionTable leaks memory when JTS is activated

* Some implementation has an unstable hash code. Use instead the identityHashCode()

https://issues.jboss.org/browse/ISPN-3982