Final GCC 4.8+ fixes

Compile and boots ok, but then comes reboot. Don't know, if
kernel or ramdisk related.

Signed-off-by: kecinzer <kecinzer@gmail.com>