yin parser: BUGFIX: fix checking result of strtoul()
yin parser: BUGFIX: fix checking result of strtoul()

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