net/echoping: fix the segmentation fault at dns.c:111
Add missing prototype for to_upper() which returns char *. Without it,
compiler assumed that it returns an int, which results in segmentation
fault in init() at dns.c when trying process its result which had been
cast to char *, albeit needlessly (this code does lots of bogus casts).
PR: 220294