Update java_math_NativeBN to use BN_is_pow2 and BN_nnmod_pow2.

Test: Forrest run of cts/libcore/gce-net
Change-Id: I34652612c8d6e152091fbb145cd45ca87889c0cc
1 file changed