Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.