Use unprivileged socket to send ping on macOS/iOS/tvOS/Mac Catalyst (#52240)
Revival of #42006 with some feedback incorporated.
This improves Ping behavior on macOS/iOS family. For unprivileged users, it allows to send/receive buffer with custom content and removes craft around spawning new process. (uses [this example](https://developer.apple.com/library/archive/samplecode/SimplePing/Introduction/Intro.html)).
It adds new macOS/iOS/tvOS targets for the assembly that exclude the process creation code.
Fixes #36941
Fixes #51395
Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com>