xfs: cleanup error handling in xfs_swap_extents