btrfs: add forward declarations and headers, part 1