fix LEAK_DEBUG

4.x https://github.com/jboss-remoting/jboss-remoting/pull/30