Fix std::codecvt_utf8* for big-endian targets