ARROW-12076: [Rust] Fix build
ARROW-12076: [Rust] Fix build

There was a logical conflict between https://github.com/apache/arrow/commit/eebf64b00e3a26f61c4bebec7241a0b24d27ec67 which removed the Arc in `ArrayData` and  https://github.com/apache/arrow/commit/8dd6abbb72b6b8958f3b2f35512bdadcaf43066f which optimized the compute kernels.

FYI @Dandandan  and @nevi-me

Closes #9796 from alamb/alamb/fix-build

Authored-by: Andrew Lamb <02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@nerdnetworks.org>
Signed-off-by: Neville Dipale <4e1ab218b24f06847d563ff3773c7517c139f863@gmail.com>

apache/arrow,cpcloud/arrow,wesm/arrow,apache/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,cpcloud/arrow,icexelloss/arrow,laurentgo/arrow,kou/arrow,apache/arrow,cpcloud/arrow,apache/arrow,kou/arrow,apache/arrow,laurentgo/arrow,laurentgo/arrow,apache/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,cpcloud/arrow,wesm/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,kou/arrow,laurentgo/arrow,kou/arrow,icexelloss/arrow,laurentgo/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,wesm/arrow,kou/arrow,apache/arrow,icexelloss/arrow,icexelloss/arrow,wesm/arrow,cpcloud/arrow,laurentgo/arrow,cpcloud/arrow,icexelloss/arrow,kou/arrow,kou/arrow,kou/arrow,icexelloss/arrow,laurentgo/arrow,apache/arrow,laurentgo/arrow,apache/arrow,kou/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,wesm/arrow,wesm/arrow,laurentgo/arrow,cpcloud/arrow,apache/arrow,cpcloud/arrow,laurentgo/arrow,laurentgo/arrow,kou/arrow,apache/arrow,icexelloss/arrow,cpcloud/arrow,cpcloud/arrow,apache/arrow,wesm/arrow,wesm/arrow,apache/arrow,icexelloss/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow,cpcloud/arrow,icexelloss/arrow,laurentgo/arrow,wesm/arrow