sdm: Set surfaceDamage numRects for solid-fill layer

1. Set surfaceDamage numRects while creating a solid-fill HWC layer.
2. Fix the region count update in AssignLayerRegionsAddress api.
3. SetRect should be called within visible and dirty region counts.

CRs-Fixed: 907823
Change-Id: I8a4ba6a99c851864597904df7e1b685ca30043a1
2 files changed