btrfs: add helpers for FS_XFLAG_* conversion