[PATCH 5.4 121/156] xfs: only relog deferred intent items if free space in the log gets low