GCC 4.8 -o3 fix

Random -O3 Compiler fixes for Linaro 4.8, 4.9+

Signed-off-by: Jean Francis Dominique S. Mabalot <jfdsmabalot@redhat.com>