yin parser: BUGFIX: fix logic of checking check_default() function return value
yin parser: BUGFIX: fix logic of checking check_default() function return value

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