apparmorfs: fix use-after-free on symlink traversal