ARROW-9813: [C++] Disable semantic interposition
ARROW-9813: [C++] Disable semantic interposition

By default, gcc enables "semantic interposition" which allows overriding a symbol using LD_PRELOAD tricks (for example).  Disabling it allows faster calling conventions when calling global functions internally, and can also help inlining.

Basically, doing this shouldn't cause any harm, and could in some circumstances improve performance.  A quick look at Arrow shared library sizes suggests code size is only minimally reduced.

Closes #8048 from pitrou/ARROW-9813-gcc-semantic-interposition

Authored-by: Antoine Pitrou <9359a4d812173b65a3a0094cd86363e79731a3c2@python.org>
Signed-off-by: Sutou Kouhei <73218711cdd5d5c30ac66da3cc4d9d9204caf34b@clear-code.com>

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