Use Long.compare static method now that Java 8 is the minimum
Use Long.compare static method now that Java 8 is the minimum

JAVA-2996

rozza/mongo-java-driver,rozza/mongo-java-driver,jyemin/mongo-java-driver,jyemin/mongo-java-driver