dex2oat: Avoid extra std::string copy
am: f276f957e5

Change-Id: Ibeb85bf06bd5bdfd6521e6696e976d7612915d51