android: Remove java object references to dropped resources.
android: Remove java object references to dropped resources.

Without this patch these stale pointers will be queried and
dropped/freed in NativeDevice.finalize(), which may lead to
segfaults.

ArtifexSoftware/mupdf,ArtifexSoftware/mupdf,ArtifexSoftware/mupdf,ArtifexSoftware/mupdf,ArtifexSoftware/mupdf,ArtifexSoftware/mupdf,ArtifexSoftware/mupdf,ArtifexSoftware/mupdf