[mono] Use `unsigned char` when computing UTF8 string hashes (#21633)