[PATCH v2 45/49] kdump-lib.sh: batch fix issues found with shellcheck