libunicode: optimize char functions for ascii characters