jnius: fix push/pop jnienv in order to avoid GIL going on using the previous thread env while we are still on the current thread