dont use (char) typecast for codepoints

This typecast does not support codepoints > 0x10000. This fixes
at least one test in roast.