net,socket: introduce DECLARE_SOCKADDR helper to catch overflow at build time