[XFS] Fix a bug in xfs_iomap for extent handling of write cases