[PATCH v2 1/3] kdumpctl: fix a bug in remove_cmdline_param()