drivers/can: fix skipped function calls when assertions disabled
drivers/can: fix skipped function calls when assertions disabled

When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.

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

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