ping: Fix aliasing violations

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Merge branch 'linaro43' into HEAD

Conflicts:
	ping.c

Change-Id: Ic9ce670d32088a22ba55652c0da285c8a81a2ceb
Merge branch 'jb43' into jb43-L