pango: use "codepoints" to get codepoint

Because Ruby 1.9 or later String#[] returns a character not a
codepoint.