[PATCH 5.4 048/215] btrfs: fix off-by-one chunk length calculation at contains_pending_extent()