t/04save_c.t: abstract cmd for -lz, add $m to diag