build: Fix ast_sockaddr initialization to be more portable