std: Change escape_unicode to use new escapes

This changes the `escape_unicode` method on a `char` to use the new style of
unicode escapes in the language.

Closes #19811
Closes #19879
Merge pull request #19885 from alexcrichton/char-escape

std: Change escape_unicode to use new escapes

Reviewed-by: brson