[RocksJava] Fixed MacOS build of RocksJava

There were still some precision loss problems
remainging in RocksJava. This pull request resolve
these.