Common: Rewrite CRC computation for PNG images