Local reference table overflow in JNI code fixed. (cherry picked from commit 457c878538)
457c878538
http://opencv.org/android