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

Change-Id: I6bd315b237070fa86580398417a78a1eaecd28d9