PARQUET-1788: Remove UBSan when rep/dev levels are null
PARQUET-1788: Remove UBSan when rep/dev levels are null

Closes #6378 from emkornfield/PARQUET_1788 and squashes the following commits:

498c62728 <Micah Kornfield> PARQUET-1788: Remove UBSan when rep/dev levels are null

Authored-by: Micah Kornfield <dbc64ab8a675880673029ed6b2cb1d084dfef0bb@gmail.com>
Signed-off-by: Wes McKinney <3be70eed0275ec2606f002bff3514252e145d204@apache.org>

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