btrfs: Make btrfs_mark_extent_written take btrfs_inode