driver: arcv2_timer0: optimze the code

use a local variable to replace the ctrl_cache

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
1 file changed