optimizing_compiler: Avoid extra std::string copy

The function OptimizationPassByName() takes a const std::string
reference, so it's inefficient to pass it the result of
std::string::c_str().

Test: TreeHugger
Change-Id: I84fc717285b0278264cba3c9504290876025a01d
1 file changed