Add "format" attribute to StringUtils::sprintf().

Currently we don't support compilers which don't have this
extension.
Althouth glib has more pretty macro "G_GNUC_PRINTF", we don't use
it at here because MLPL doesn't depend on glib.