AnyKernel2: sync unpack/repack fixes from
https://github.com/osm0sis/AnyKernel2