Simplify code - no functionality change.

getToolChain().getTriple().getArch() can be replaced by getToolChain().getArch()