mm-video: Add the ability to use PMEM for encoding while using ION

Signed-off-by: Nathan Chan <e334cn@gmail.com>