Add support STM32f051 chip and fixed clocks running issue when debug halt on stm32f103rc