HarfBuzzFont: use std::string::data() instead of std::string::c_str().
JpegImporter: use our own platform definitions.
HarfBuzzFont: avoid potentially costly strlen() call.