Added rootNodePtr argument to findLeftSideThreadPredecessor