commonfmt: fix some clippy warnings