[PATCH 6.6 091/396] btrfs: fix off-by-one chunk length calculation at contains_pending_extent()