[PATCH 6.6 017/331] riscv: Fix an off-by-one in get_early_cmdline()