cast to unsigned int before shifting left
cast to unsigned int before shifting left

(weird integer promotion, a unsigned char will be first tried to be promoted to "int" apparently,
so we need to cast it to avoid implicit behaviour)

fixes https://github.com/libexif/libexif/issues/20

libexif/libexif,libexif/libexif,libexif/libexif