resolve BUGFIX replace assert with message and break
resolve BUGFIX replace assert with message and break

If compiling target RELEASE, the assert is skipped
and missing break would cause problems.

lukasmacko/libyang,PavolVican/libyang,PavolVican/libyang,lukasmacko/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang