Support apps that pass JNI_VERSION_1_1 to GetEnv.

Bug: 10649815
Change-Id: I791039ed5b351d5dee340c43870422462e5528d9