issue: #443178 use macro instead of static inline function; hence, arch support
will not require users to define _GNU_SOURCE for our use of accept4

Change-Id: Icee7af0fe8f30429c5fbc46b6dae2262ebf2635c