[PATCH v2 2/3] riscv: Add ZERO_MEM_BEFORE_USE implementation