[PATCH 6.6.y 1/7] btrfs: send: factor out common logic when sending xattrs