Fix warning compilation when CONFIG_ASSERT is set to no. Signed-off-by: Martin Hoff <martin.hoff@silabs.com>