[PATCH 1/1] riscv: riscv_get_time() implementation for SMODE