fix a segfault
fix another segfault
Merge remote-tracking branch 'fredrik/trunk' into trunk

Conflicts:
	fmpz_mat/rq_d.c