stm32/f1: rcc.c Get and clear reset flags

- New function rcc_reset_flags - gets reset flags from RCC_CSR
- New function rcc_clear_reset_flags - clears reset flags in RCC_CSR
- New macro RCC_CSR_RSTF_MASK - masks reset flags in RCC_CSR
- Stylecheck cleanup in rcc.c