image: fix legal types for packed integer formats.