[RFC PATCH 1/8] kdumpctl: fix a bug in remove_cmdline_param()