namei.c: take "jump to root" into a new helper