java/interp: Add assertion for native methods

Fail assertion rather than attempting to execute non-existing code.

Signed-off-by: Pekka Enberg <penberg@iki.fi>