[PATCH 6.6 454/587] btrfs: send: factor out common logic when sending xattrs