[PATCH 1/3] cleanup: extract functions from kdump.sh to kdump-lib-initramfs.sh