[PATCH v2 02/49] kdump-lib.sh: add a config format and read helper