common/xfs: Check if write supports [-c|-d] option in xfs_db