STM32: Proper critical in CAN driver initialization