[PATCH 19/24] Make kdump-logger.sh fully POSIX-compatible