Core: Fix linaro build due to unused parameters...
there are not errors
but sometimes they treated as errors
So add __attribute__((unused)) to fix build

Change-Id: I3fb9dfd94d355f55db3322add78888ce720d5e78