arch: arm: cortex_m: conditionally select ARCH_HAS_TIMING_FUNCTIONS
arch: arm: cortex_m: conditionally select ARCH_HAS_TIMING_FUNCTIONS

Cortex-M SoCs implement (optionally) the Data Watchpoint and
Tracing Unit (DWT), which can be used for timing functions.
Select the corresponding ARCH capability if the SoC implements
the DWT.

Signed-off-by: Ioannis Glaropoulos <5921cc8bab7e1d4329f52fd8f6268f9692e3de80@nordicsemi.no>

nashif/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,finikorg/zephyr,Vudentz/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,Vudentz/zephyr,nashif/zephyr,galak/zephyr,finikorg/zephyr,galak/zephyr,galak/zephyr,galak/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,nashif/zephyr,nashif/zephyr,finikorg/zephyr,nashif/zephyr,Vudentz/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr