Remove PMEM parts
gralloc: Allow legacy devices to use PMEM for ADSP (camera).

Partially bring back PMEM support for legacy devices having proprietary camera
libraries stuck in PMEM. This change allows these devices to continue using
PMEM for the camera, and ION for everything else.

Change-Id: I1afbc7d137b3d49b2ab3e53917b16fd920ea140b

Conflicts:
	libgralloc/Android.mk
	libgralloc/alloc_controller.h
libgralloc: alloc_controller.h: Use smart pointer for PmemAdspAlloc

I have no idea what I'm doing.
pmemalloc: Fix compilation

Thanks to professorpasta on XDA for pointing out why it wasn't compiling.
libgralloc: Add back support for PMEM SMI

Needed for our PMEM video controller and PMEM camera libs.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
Add missing pieces for PRIV_FLAGS_USES_PMEM_SMI flag

Signed-off-by: Sultanxda <sultanxda@gmail.com>
libgralloc: Rename USE_PMEM_ADSP to USE_PMEM_CAMERA

This flag enables PMEM SMI and PMEM ADSP, not just PMEM ADSP.