MFC r368182: Use function macro for sema_init() in the LinuxKPI to limit macro expansion scope.
Sponsored by: Mellanox Technologies // NVIDIA Networking