More correct type qualifiers in mj_string_rep() and mj_string_size().

The (mj_t*) parameter can definitely be qualified with "const" in these
situations. This is probably true in others, too.