Fix this again.
[runtime] Fix memory leaks and usage of freed memory in ves_icall_System_Net_Dns_GetHostByName_internal. Fixes #18063.