[PATCH 6.7 059/346] riscv: Fix an off-by-one in get_early_cmdline()