QCOM Media: Fix duplicates conflict and mem heap

Change-Id: Ibb358e9c9e4a07f81d5e815f1d1cf9d0345972d4