Move getSymbol to TargetLoweringObjectFile.

This allows constructing a Mangler with just a TargetMachine.