vfs: workaround gcc <4.6 build error in link_path_walk()