hwc2: Fix HDR api issues

* HDR api may get call on same commit binder,
hence use only scope lock.

* Correct the gethdrcapability call 

Change-Id: I39083a299a17f339c7ab40f7cebd619fd10d126a
CRs-Fixed: 2373221
1 file changed