[RESEND,PATCH v2 1/1] riscv: Add timer_get_us() for tracing