py: Cast argument for printf to int, to be compatible with more ports.

This allows stmhal to be compiled with MICROPY_DEBUG_PRINTERS.
diff --git a/py/lexer.c b/py/lexer.c
index 97c84cf..3e7d589 100644
--- a/py/lexer.c
+++ b/py/lexer.c
@@ -772,7 +772,7 @@
             unichar c = utf8_get_char(i);
             i = utf8_next_char(i);
             if (unichar_isprint(c)) {
-                printf("%c", c);
+                printf("%c", (int)c);
             } else {
                 printf("?");
             }