btrfs: unlock path before checking if extent is shared during nocow writeback