hwc: Add sequence lock to driver event handling

Driver events could happen between or during Validate/Present cycles
causing synchronization issues. Add sequence lock to driver event
handling to make sure they are serialized.

Change-Id: I98d6613012251e3de428e8d3ef8b89e7f5a7e40c
CRs-fixed: 1114808
3 files changed