tests-mbed_hal-common_tickers: Fix increment test case implementation
tests-mbed_hal-common_tickers: Fix increment test case implementation

In case when base tick count is different than next tick count check first if the difference is equal to 1 tick (this is what we are looking for) if not then decrease the tick count.

Repeat counting process few times before incrementing the number of cycles in case when base tick count is equal to next tick count.

betzw/mbed-os,betzw/mbed-os,c1728p9/mbed-os,betzw/mbed-os,andcor02/mbed-os,kjbracey-arm/mbed,mbedmicro/mbed,andcor02/mbed-os,mbedmicro/mbed,kjbracey-arm/mbed,andcor02/mbed-os,c1728p9/mbed-os,kjbracey-arm/mbed,c1728p9/mbed-os,betzw/mbed-os,andcor02/mbed-os,andcor02/mbed-os,andcor02/mbed-os,mbedmicro/mbed,kjbracey-arm/mbed,betzw/mbed-os,c1728p9/mbed-os,c1728p9/mbed-os,betzw/mbed-os,c1728p9/mbed-os,mbedmicro/mbed,mbedmicro/mbed