Remove unused bitrotted code

The JVM code contains lots of references to nonexistent functions, so presumably noone is using them, and if they did try to use them, it would just crash anyway.