[Java] Fix compile error on DbBenchmark.java

Summary:
Fix compile error on DbBenchmark.java

Test Plan:
make rocksdbjava
make jdb_bench