btrfs: improve error handling of btrfs_add_link