util: use string width in util `formatPrimitive()`string length line check
requested to merge github/fork/Anemy/util-improve-string-width-check-in-format-primitive-string into main
Improves support for util.inspect
formatting strings with unicode characters by updating to look at the printed string width instead of the string length.
Characters like あ
have a width of 2 and length 1.