Changed some mpz_ptr's to mpz_srcptr's.
Corrected prototypes for mpq_set/cmp_ui/si.