ndppd: fix compilation with modern gcc