common/kgdb.c: fix 'dereferencing type-punned pointer' warning

and get rid of a couple of unneeded casts.

Signed-off-by: Wolfgang Denk <wd@denx.de>
1 file changed