Sysfs: fix possible memleak in sysfs_follow_link