Adding const to the ni_string_ishex(char *) argument