Support GraalVM's native-image tool, that can create executable self-contained applications out of jar files.
See: https://github.com/mongodb/mongo-java-driver/pull/527
JAVA-4856 Ensure ObjectId uniqueness when using GraalVM
JAVA-5196 Add MongoDB Java Driver to List of GraalVM-Tested Libraries
JAVA-3580 Test against graalvm and test native-image support.