common/xfs: Add helpers for checking CONFIG_XFS_DEBUG availability