gen_init_cpio: avoid stack overflow when expanding