Fix [#34768] Out of bounds access in console selection.

txt_utf8_column_to_offset(): don't advance the offset anymore if a null character is found.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55621 954f8c5b-7b00-dc11-b283-0030488c597c