iputils: Fix aliasing violations

Change-Id: I1a577fb3b65b6ea107187e67734570506f69a3aa
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>