can: Fix semaphore take in critical section
can: Fix semaphore take in critical section

This commit fixes can_reconfigure_alerts() which
could lead to a call to xSemaphoreTake() whilst
inside a critical section.

Closes https://github.com/espressif/esp-idf/issues/4277

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf