freq: fix crash with utf > 0xffff (thanks Andrey Mirtchovski)

R=rsc
https://codereview.appspot.com/7029054
1 file changed