Revert "Fix Core Platform API JNI check" am: 8206ae8461

Change-Id: I533a433fad8094b487063a7b54020a1c061a780e