hwc2: Check composition type in SetLayerBuffer

SetLayerBuffer may be null if the layer is client/sideband/color

Change-Id: I09e21e97c75f4e14e684a402b7d002ba98a27a3b
1 file changed