android: fix priority annotations bug

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
examples: remove annotations used to avoid bug in mnit_simple

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
java: cast arguments passed to JNI

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>