mkuzip inserts a 128-byte length header at the beginning of uzip'ed
images. This header is a shell script that, when run, will mount the
uzip'ed image to the provied mountpoint. The type of compression used
when generating the uzip'ed image is also embedded in this shell script.
The problem is that the shell script is hardcoded to only mount cd96660
filesystems instead of using the mount command of the underlying
filesytem in the uzip'ed image.
This commit solves this problem by detecting the type of filesystem of
the uzip'ed image when constructing the header.
Current support is for ufs, cd9660, zfs, and msdosfs.
PR: 276174