fn take_nulls<I: ArrowPrimitiveType, const VALIDATE_INDICES: bool>( values: Option<&NullBuffer>, indices: &PrimitiveArray<I>, ) -> Option<NullBuffer>