ARROW-7399: [C++][Gandiva] set Mcpu based on host cpu
ARROW-7399: [C++][Gandiva] set Mcpu based on host cpu

- llvm doesn't auto detect cpu features based on host cpu. so,
  explicitly set the same in EngineBuilder.

Closes #6038 from pravindra/arrow-7399 and squashes the following commits:

f99694abe <Pindikura Ravindra> use static variable for getHostCpuName
7604eb0f8 <Pindikura Ravindra> ARROW-7399:  set Mcpu based on host cpu

Authored-by: Pindikura Ravindra <dcc954558d860ac8fb4ae3d370d3525a624278ec@dremio.com>
Signed-off-by: Pindikura Ravindra <dcc954558d860ac8fb4ae3d370d3525a624278ec@dremio.com>

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