Fixed a problem in mpz_nextprime (probably we want 5 and 7 to be prime :-))