Import unpackbootimg from CyanogenMod