java: Add support for reading node2type.bin
This is the new format generated and read by Rust.
The Rust compression pipeline can't generate node2type.map, so the Java backends needs to read node2type.bin in order to load graphs compressed with the Rust pipeline.
Replaces !494 (closed)