Bug 850655 - Make CharIterator::Next() not crash when at the end of text. r=longsonr

--HG--
extra : rebase_source : 830fa0fda257401a77c1aae8686aa5ab6db18d86