dnsmasq: Fix aliasing violations

Change-Id: I78ff5b17c3f2de04778b7eed41f2ed46eec6bb49
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>