or1k: Set global timer period

This sets the global timer period (or1k_timer_period) on
initialization and when its explicitly set. Although the functions
should be used to reset the timer or set the period, this allows to
use legacy code that manually does this.