[RocksJava] Fixed MacOS build of RocksJava

There were still some precision loss problems
remainging in RocksJava. This pull request resolve
these.
Merge pull request #426 from fyrz/RocksJava-Restore-PrecisionFix

[RocksJava] Fixed MacOS build of RocksJava