Revert "Revert "PMEM changes required for MSM gralloc to work correctly.""

This reverts commit a8edb0c23214762c31139803ad91b89d45cf5fa5.