Refactor mkbootzip and add LZ4 ramdisk support