Make list_length and string_item_to_ipaddr const-correct.