perf: Don't error out on unused parameters w/ gcc 4.8+

Change-Id: I04b8a0f4694d43178947793403c7252b4d310e1d
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>