sctp: Replace use of sockets_allocated with specified macro.