compiler: java: fix java_map_type writeProtocol
lib/java: TProtocol: read/write Uri