[PATCH v3 2/3] earlykdump: add more sanity check when generating initramfs