[PATCH v4 4/8] initramfs: avoid memcpy for hex header fields