kernel/params.c: fix the maximum length in param_get_string