Undefine the assert macro to avoid compiler warning.

Undefine the assert macro before it is defined. STM32W defines its own assert macro and generates a compiler warning because it is redefined in Contiki's lib/assert.h.