Fix build with gcc-4.8+ and unused-parameter error

Change-Id: I8f4fbe0d030b3292de70ea9a4f2e0a8cbe2d7359
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Fix build

Renaming to "TARGET_GCC_VERSION_AND" should work.

Change-Id: I797668656e2e6a32b85e92ee8614f2cb993169ec
Fix

Change-Id: I572ee33f22ad4c06eb3a3810964d49748c29b659
some fixes for gcc 4.8

Change-Id: I8ef214d7bfc01b0e83d13cacae9e713846676fa4