[NUCLEO_F401RE] Update STM32Cube driver + add IAR support

- use the same Cube driver version as in NUCLEO_F411RE
- solve issue with NULL and IAR