hal: mark unused parameters correctly

Some of the parameters passed to functions in older platforms
are not used anymore, though we maintain the platform code for
backward compatibility.
Mark the unused parameter explicitely as __unused.

Change-Id: I814f5f233590ecfd3e79bf58b97ad6d37be74601
2 files changed