fn take_bits<I: ArrowPrimitiveType, const VALIDATE_INDICES: bool>( values: &BooleanBuffer, indices: &PrimitiveArray<I>, ) -> BooleanBuffer