perf: Work around aliasing violation

Change-Id: Ib43bed1760c6f4536f770b74f0b12a7772ead8bd
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
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>