Fix XML::Node#errors
to return nil
when empty
#12795
Merged
XML::Node#errors
to return nil
when empty
#12795