lavc/ffjni: remove use of private JniInvocation API to retreive the Java VM