ARROW-8428: [C++] GCC 4.8 Implicit move-on-return failure in C++ tests
ARROW-8428: [C++] GCC 4.8 Implicit move-on-return failure in C++ tests

@kszucs ideally this would be caught by CI. It's not caught by [manylinux1](https://github.com/apache/arrow/pull/6894/files#diff-c3f6c815734a6b07796306773dbae224R206) since that job doesn't build the C++ tests

Closes #6916 from bkietz/8428-GCC-4-8-failures-in-C-uni

Authored-by: Benjamin Kietzman <be26f8d5d161e4d7965ee00602589fb2b74149f2@gmail.com>
Signed-off-by: Krisztián Szűcs <6bab32dc957a05a87930e779f272342e159326fa@gmail.com>

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