isl_mat_right_inverse: fix memory leak on error path