cximage: fix broken cr2 after wrong backport of security fix d13aee8e81be9032ed78fd707d485fdcb4ed5bd6
Merge pull request #5263 from FernetMenta/cximage

cximage: fix broken cr2 after wrong backport of security fix d13aee8e81b...