btrfs: change test_range_bit to scan the whole range