insert cast in TMP_ALLOC for C++ compatibility
the cutoff in fmpz_mat_rref is slightly too low
Merge remote-tracking branch 'origin/trunk' into trunk
Merge remote-tracking branch 'wbhart/trunk' into trunk