work around a bug in BN_div_recp or BN_reciprocal