[PATCH 5.4 125/156] xfs: prevent UAF in xfs_log_item_in_current_chkpt