common: Provide an implementation of std::to_string

Provide an implementation of std::to_string
for platforms that miss one.

Change-Id: Iff68db49dc5c47448a7effce9a2d50682316ea5c