stmhal - More systick cleanup. Fix HAL_Delay

I kept sys_tick_wait_at_least and sys_tick_has_passed since they both seemed useful (and appear to be used).

I replaced sys_tick_counter with HAL_Delay(), and I fixed HAL_Delay to work properly with wraparound.