sdm: Read number of rects from per-pipe caps

Read the number of rects from per-pipe caps to find out the number
of rectangles supported by each pipe.

CRs-Fixed: 985108
Change-Id: I58559ba5b3cdd71b585ed650dab3706f1403b3df
2 files changed