msm: vidc: Remove all references to CONFIG_ANDROID_PMEM

CONFIG_ANDROID_PMEM is completely deprecated. Remove all
references to it.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

Change-Id: I7d5f853f721689f29d41fa380d4b7a99eaaa9595
msm: vidc: Fix various NULL pointer accesses, memory leaks

This commit fixes various NULL pointer and memory leak bugs.

Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

Change-Id: I3b3ac40b5e440b9665858913921a06de14741b6f
PORTED: Subsystem map api is deprecated and will be removed.
It is no longer being used.

Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>

Change-Id: Ib4b7d1e982f4ec634d06c0d895656071e7c10b14