sdm: Allocate layer stack objects individually.

- Replace layer stack memory pool management with objects individually
  allocated on heap.
- Rellocate memory in each draw cycle.

CRs-Fixed: 938164

Change-Id: I0cdae493520d0cb57eb2d2660030ebd177628564
2 files changed