Avoid out-of-bounds write overflow due to uint32 overflow computation on images with...