Simplifies getting the address of a direct buffer.
Fixes build rule for java-unsafe.
Removes leftover code in threaded bench.