@HeineBorel Yes, the naming of the overlay is unfortunate. Note that your link is for the PIZero2W patch, for the CM4 is a separate repository, but it has the same issue (similar overlay name with an existing one, distributed by the raspberrypi-kernel package).
There are 2 workarounds for this
either rename the overlays/dpi24.dtbo file to something else and update the config.txt with the new name
when updating RetroPie, skip the kernel and system packages and update only RetroPie's packages.