ARROW-580: C++: Also provide jemalloc_X targets if only a static or shared version is found
ARROW-580: C++: Also provide jemalloc_X targets if only a static or shared version is found

Author: Uwe L. Korn <uwelk@xhochy.com>

Closes #349 from xhochy/ARROW-580 and squashes the following commits:

6cdeef2 [Uwe L. Korn] ARROW-580: C++: Also provide jemalloc_X targets if only a static or shared version is found

dremio/arrow,itaiin/arrow,wagavulin/arrow,renesugar/arrow,siddharthteotia/arrow,wagavulin/arrow,apache/arrow,icexelloss/arrow,wagavulin/arrow,jeffknupp/arrow,majetideepak/arrow,wagavulin/arrow,StevenMPhillips/arrow,icexelloss/arrow,cpcloud/arrow,laurentgo/arrow,dremio/arrow,wesm/arrow,renesugar/arrow,wagavulin/arrow,pcmoritz/arrow,apache/arrow,kou/arrow,pcmoritz/arrow,cpcloud/arrow,pcmoritz/arrow,jeffknupp/arrow,laurentgo/arrow,laurentgo/arrow,siddharthteotia/arrow,apache/arrow,siddharthteotia/arrow,siddharthteotia/arrow,tebeka/arrow,kou/arrow,NonVolatileComputing/arrow,wesm/arrow,renesugar/arrow,majetideepak/arrow,laurentgo/arrow,yufeldman/arrow,yufeldman/arrow,wagavulin/arrow,pcmoritz/arrow,jeffknupp/arrow,apache/arrow,apache/arrow,laurentgo/arrow,renesugar/arrow,cpcloud/arrow,StevenMPhillips/arrow,dremio/arrow,tebeka/arrow,xhochy/arrow,NonVolatileComputing/arrow,itaiin/arrow,StevenMPhillips/arrow,laurentgo/arrow,dremio/arrow,julienledem/arrow,xhochy/arrow,jeffknupp/arrow,xhochy/arrow,laurentgo/arrow,laurentgo/arrow,yufeldman/arrow,dremio/arrow,icexelloss/arrow,kou/arrow,itaiin/arrow,wesm/arrow,cpcloud/arrow,pcmoritz/arrow,julienledem/arrow,icexelloss/arrow,majetideepak/arrow,laurentgo/arrow,siddharthteotia/arrow,julienledem/arrow,icexelloss/arrow,apache/arrow,cpcloud/arrow,cpcloud/arrow,wesm/arrow,julienledem/arrow,laurentgo/arrow,yufeldman/arrow,tebeka/arrow,itaiin/arrow,cpcloud/arrow,jeffknupp/arrow,NonVolatileComputing/arrow,julienledem/arrow,itaiin/arrow,cpcloud/arrow,yufeldman/arrow,kou/arrow,renesugar/arrow,wagavulin/arrow,kou/arrow,kou/arrow,cpcloud/arrow,jeffknupp/arrow,xhochy/arrow,apache/arrow,pcmoritz/arrow,xhochy/arrow,jeffknupp/arrow,icexelloss/arrow,wesm/arrow,itaiin/arrow,wesm/arrow,apache/arrow,wagavulin/arrow,tebeka/arrow,siddharthteotia/arrow,cpcloud/arrow,StevenMPhillips/arrow,StevenMPhillips/arrow,wesm/arrow,siddharthteotia/arrow,kou/arrow,icexelloss/arrow,renesugar/arrow,renesugar/arrow,wagavulin/arrow,pcmoritz/arrow,laurentgo/arrow,wagavulin/arrow,laurentgo/arrow,kou/arrow,cpcloud/arrow,jeffknupp/arrow,apache/arrow,jeffknupp/arrow,renesugar/arrow,renesugar/arrow,xhochy/arrow,icexelloss/arrow,NonVolatileComputing/arrow,kou/arrow,yufeldman/arrow,apache/arrow,julienledem/arrow,tebeka/arrow,laurentgo/arrow,wesm/arrow,pcmoritz/arrow,majetideepak/arrow,NonVolatileComputing/arrow,itaiin/arrow,pcmoritz/arrow,majetideepak/arrow,pcmoritz/arrow,TheNeuralBit/arrow,renesugar/arrow,xhochy/arrow,pcmoritz/arrow,NonVolatileComputing/arrow,majetideepak/arrow,pcmoritz/arrow,kou/arrow,itaiin/arrow,siddharthteotia/arrow,jeffknupp/arrow,itaiin/arrow,wesm/arrow,apache/arrow,TheNeuralBit/arrow,icexelloss/arrow,renesugar/arrow,apache/arrow,wesm/arrow,dremio/arrow,itaiin/arrow,cpcloud/arrow,wesm/arrow,tebeka/arrow,pcmoritz/arrow,kou/arrow,tebeka/arrow,dremio/arrow,tebeka/arrow,StevenMPhillips/arrow,julienledem/arrow,apache/arrow,TheNeuralBit/arrow,siddharthteotia/arrow,majetideepak/arrow,dremio/arrow,itaiin/arrow,tebeka/arrow,majetideepak/arrow,icexelloss/arrow,kou/arrow,julienledem/arrow,yufeldman/arrow,cpcloud/arrow,icexelloss/arrow,wesm/arrow,xhochy/arrow,icexelloss/arrow,majetideepak/arrow,dremio/arrow,kou/arrow,majetideepak/arrow,laurentgo/arrow,TheNeuralBit/arrow,wesm/arrow,laurentgo/arrow,xhochy/arrow,NonVolatileComputing/arrow,StevenMPhillips/arrow,dremio/arrow,NonVolatileComputing/arrow,xhochy/arrow,siddharthteotia/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,renesugar/arrow,TheNeuralBit/arrow,itaiin/arrow,itaiin/arrow,StevenMPhillips/arrow,majetideepak/arrow,jeffknupp/arrow,NonVolatileComputing/arrow,tebeka/arrow,renesugar/arrow,cpcloud/arrow,TheNeuralBit/arrow,siddharthteotia/arrow,yufeldman/arrow,yufeldman/arrow,xhochy/arrow,yufeldman/arrow,yufeldman/arrow,pcmoritz/arrow,xhochy/arrow,renesugar/arrow,majetideepak/arrow,xhochy/arrow,itaiin/arrow,wagavulin/arrow,wagavulin/arrow,renesugar/arrow,icexelloss/arrow,apache/arrow,dremio/arrow,majetideepak/arrow,majetideepak/arrow,StevenMPhillips/arrow,julienledem/arrow,xhochy/arrow,NonVolatileComputing/arrow,xhochy/arrow,StevenMPhillips/arrow,julienledem/arrow,NonVolatileComputing/arrow,majetideepak/arrow,itaiin/arrow,pcmoritz/arrow