use the new fmpz_poly_cos_minpoly in flint instead of elefun_cos_minpoly