Updated util.c with modified char ref function

html_character_reference() function modified