Fix Possible Null Pointer De-reference.

attr = wbxml_list_get(node->attrs, i);  can return NUll.
So, if Null check is not done it may crash in call to wbxml_buffer_len(attr->value).