fix some more compile warnings

- unused variables
- platform sdk ver not propagated to hwc2

Change-Id: I40a7d2cf8be76ceaa38d8244779e4e58cfcf8c37
12 files changed