xfs: split the unaligned DIO write code out