Prototype for lw_checksum added.
Checksum for image data message elements.