Bluetooth: controller: Refactor the k32src_wait() function
Bluetooth: controller: Refactor the k32src_wait() function

This is a pure refactoring of the k32src_wait function. It used the
following rules when refactoring:

Don't use the preprocessor when unprocessed C language suffices.

Don't undefine macro's.

Avoid global variables when possible.

Use consistent names for similiar things (hf_clock, lf_clock).

Signed-off-by: Sebastian Bøe <edee888afd63e94916688495334700803eba20a0@nordicsemi.no>

nashif/zephyr,explora26/zephyr,ldts/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,punitvara/zephyr,nashif/zephyr,finikorg/zephyr,nashif/zephyr,Vudentz/zephyr,Vudentz/zephyr,punitvara/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,explora26/zephyr,galak/zephyr,Vudentz/zephyr,ldts/zephyr,ldts/zephyr,nashif/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,ldts/zephyr,explora26/zephyr,punitvara/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,Vudentz/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,finikorg/zephyr,Vudentz/zephyr,punitvara/zephyr,galak/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr