common/xfs: refactor xfs_scrub presence testing