Remove kq and set BN_FLG_CONSTTIME in k for BN_mod_inverse