echoprint-codegen: fix build on 10.10

Fixes #35299.
`diff` rather than patch so the checksum doesn't change if GitHub bump Git versions.