Fix cc dwt usage

STM32F1 still uses old CMSIS so DWT register is not available. This PR fixes this incorrect usage which has been introduced by https://github.com/lilvinz/TauLabs/commit/245ae648dd06e5fb15aeed3b600a070fd558f370.
Also this makes use of DWT for the DiscoveryF4 target.