riscv: Fix clear bss loop in the start-up code