mkimage/imagetool-uncompressed.py cleanup and enhancements