tree: Fix xmlAddSibling with last sibling If the node to be added was already at the correct position, the tree could be corrupted.