Added mpn_mod_preinvn for reduction with precomputed inverse.