Must return after throwing exception

You cannot keep using a JNI env while there's a pending exception.
https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/design.html#exceptions_and_error_codes
Issue discovered with EG15 addition, fixing EGL14 interface for
consistency.

Bug: 124064285
Test: atest android.graphics.cts.EGL14Test
Change-Id: Iba3f1536d5f3b70a8f60b905ba020d9fbe3fda8a
1 file changed