common/xfs: Add a helper to get an inode fork's extent count