Update mozjpeg and fix image type detection.

The correct spelling is `mozjpeg`.