Fix deprecated unicode escapes warnings.

Fixes #20025.