xfs: handle negative wbc->nr_to_write during sync writeback