So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs.