openrisc: implement get_ticks and get_tbclk