drivers: rtc: stm32: avoid infinite blocking loop

Use the less CPU intensive and timeout capable WAIT_FOR zephyr provided
macro

Signed-off-by: Johan Lafon <johan.lafon@syslinbit.com>
1 file changed