[U-Boot] [PATCH v4 08/28] riscv: fix use of incorrectly sized variables