Add -Wno-error=unused-parameter to TARGET_GLOBAL_CFLAGS

Change-Id: Ie690cff07a458efa95cb7d6e23432e12c57e8f94