Don't use recursive root_ancestor in linear mode
There are cases when Namespaces::Traversal::Linear#root_ancestor
will defer to the recursive version even when we have enabled the use_traversal_ids_for_root_ancestor
linear feature flag.
We should remain with the linear code when the use_traversal_ids_for_root_ancestor
FF is enabled.