[range] Fixed a bug in istream_range() that prevented it from working with character types other than 'char' (refs #7407).

svn path=/trunk/libs/range/; revision=84707