jni: Fix templates for clang-r377782 update. am: 948f062455

Change-Id: I7d258d780aadd04dc9868db5054f9e27df9f6d5e