[NUCLEOs] Call SystemCoreClockUpdate() before SystemCoreClock is used.

This solves the issue with Ticker class (wrong timing).