xfs: replace open-coded calls to xfs_logprint with helpers